Documentation

Init.Data.String.Pattern.Memcmp

@[extern lean_string_memcmp_compare]
def String.Slice.Pattern.Internal.memcmpStrCompare (lhs rhs : String) (lstart rstart : Pos.Raw) (len : Nat) (h1 : lstart.increaseBy len ≤ lhs.rawEndPos) (h2 : rstart.increaseBy len ≤ rhs.rawEndPos) :
Equations
Instances For
    @[extern lean_string_memcmp]
    def String.Slice.Pattern.Internal.memcmpStr (lhs rhs : String) (lstart rstart : Pos.Raw) (len : Nat) (h1 : lstart.increaseBy len ≤ lhs.rawEndPos) (h2 : rstart.increaseBy len ≤ rhs.rawEndPos) :
    Equations
    Instances For
      @[extern lean_string_memcmp_lt]
      def String.Slice.Pattern.Internal.memcmpStrLt (lhs rhs : String) (lstart rstart : Pos.Raw) (len : Nat) (h1 : lstart.increaseBy len ≤ lhs.rawEndPos) (h2 : rstart.increaseBy len ≤ rhs.rawEndPos) :
      Equations
      Instances For
        @[inline]
        def String.Slice.Pattern.Internal.memcmpSliceCompare (lhs rhs : Slice) (lstart rstart : Pos.Raw) (len : Nat) (h1 : lstart.increaseBy len ≤ lhs.rawEndPos) (h2 : rstart.increaseBy len ≤ rhs.rawEndPos) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[inline]
          def String.Slice.Pattern.Internal.memcmpSlice (lhs rhs : Slice) (lstart rstart : Pos.Raw) (len : Nat) (h1 : lstart.increaseBy len ≤ lhs.rawEndPos) (h2 : rstart.increaseBy len ≤ rhs.rawEndPos) :
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            @[inline]
            def String.Slice.Pattern.Internal.memcmpSliceLt (lhs rhs : Slice) (lstart rstart : Pos.Raw) (len : Nat) (h1 : lstart.increaseBy len ≤ lhs.rawEndPos) (h2 : rstart.increaseBy len ≤ rhs.rawEndPos) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For