Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 1,077 for Equal (0.08 sec)

  1. cmd/batch-handlers_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			if err := yaml.Unmarshal([]byte(tt.args.yamlStr), &tt.b); (err != nil) != tt.wantErr {
    				t.Errorf("UnmarshalYAML() error = %v, wantErr %v", err, tt.wantErr)
    			}
    			if !slices.Equal(tt.b.Prefix.F(), tt.want) {
    				t.Errorf("UnmarshalYAML() = %v, want %v", tt.b.Prefix.F(), tt.want)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. internal/s3select/sql/timestampfuncs_test.go

    	}
    	for i, tc := range cases {
    		tval, err := parseSQLTimestamp(tc.s)
    		if err != nil {
    			t.Errorf("Case %d: Unexpected error: %v", i+1, err)
    			continue
    		}
    		if !tval.Equal(tc.t) {
    			t.Errorf("Case %d: Expected %v got %v", i+1, tc.t, tval)
    			continue
    		}
    
    		tstr := FormatSQLTimestamp(tc.t)
    		if tstr != tc.s {
    			t.Errorf("Case %d: Expected %s got %s", i+1, tc.s, tstr)
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Ordering.java

    import java.util.TreeSet;
    import java.util.concurrent.ConcurrentMap;
    import java.util.concurrent.atomic.AtomicInteger;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A comparator, with additional methods to support common operations. This is an "enriched" version
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. internal/kms/dek_test.go

    			t.Fatalf("Test %d: failed to unmarshal DEK: %v", i, err)
    		}
    		if key.Plaintext != nil {
    			t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
    		}
    		if !bytes.Equal(key.Ciphertext, test.Key.Ciphertext) {
    			t.Fatalf("Test %d: ciphertext mismatch: got %x - want %x", i, key.Ciphertext, test.Key.Ciphertext)
    		}
    	}
    }
    
    func mustDecodeB64(s string) []byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int count(@Nullable Object element) {
          for (Entry<E> entry : entrySet()) {
            if (Objects.equal(entry.getElement(), element)) {
              return entry.getCount();
            }
          }
          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Floats.java

       *
       * <p><b>Java 8+ users:</b> use {@link Float#BYTES} instead.
       *
       * @since 10.0
       */
      public static final int BYTES = Float.SIZE / Byte.SIZE;
    
      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Float)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Float#hashCode(float)} instead.
       *
       * @param value a primitive {@code float} value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Floats.java

       *
       * <p><b>Java 8+ users:</b> use {@link Float#BYTES} instead.
       *
       * @since 10.0
       */
      public static final int BYTES = Float.SIZE / Byte.SIZE;
    
      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Float)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Float#hashCode(float)} instead.
       *
       * @param value a primitive {@code float} value
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:52:18 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. schema/constraint_test.go

    		}
    
    		for _, name := range []string{"Name", "Constraint"} {
    			if reflect.ValueOf(result).FieldByName(name).Interface() != reflect.ValueOf(v).FieldByName(name).Interface() {
    				t.Errorf(
    					"check %v %v should equal, expects %v, got %v",
    					k, name, reflect.ValueOf(result).FieldByName(name).Interface(), reflect.ValueOf(v).FieldByName(name).Interface(),
    				)
    			}
    		}
    	}
    }
    
    func TestParseUniqueConstraints(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/GeneralRange.java

              && hasUpperBound == r.hasUpperBound
              && getLowerBoundType().equals(r.getLowerBoundType())
              && getUpperBoundType().equals(r.getUpperBoundType())
              && Objects.equal(getLowerEndpoint(), r.getLowerEndpoint())
              && Objects.equal(getUpperEndpoint(), r.getUpperEndpoint());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return Objects.hashCode(
            comparator,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. internal/config/certsinfo.go

    			case 11:
    				values = append(values, fmt.Sprintf("OU=%s", name.Value))
    			default:
    				values = append(values, fmt.Sprintf("UnknownOID=%s", name.Type.String()))
    			}
    		} else if oid.Equal(oidEmailAddress) {
    			values = append(values, fmt.Sprintf("emailAddress=%s", name.Value))
    		} else {
    			values = append(values, fmt.Sprintf("UnknownOID=%s", name.Type.String()))
    		}
    	}
    	if len(values) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
Back to top