Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,077 for Equal (0.08 sec)

  1. internal/crypto/header.go

    		return key, ErrInvalidCustomerKey
    	}
    	keyMD5, err := base64.StdEncoding.DecodeString(h.Get(xhttp.AmzServerSideEncryptionCopyCustomerKeyMD5))
    	if md5Sum := md5.Sum(clientKey); err != nil || !bytes.Equal(md5Sum[:], keyMD5) {
    		return key, ErrCustomerKeyMD5Mismatch
    	}
    	copy(key[:], clientKey)
    	return key, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

            List<? super String> list) {
          return notSubtype(list);
        }
    
        // Can't test getSupertype() or getSubtype() because JDK reflection doesn't consider
        // Foo<?> and Foo<? extends Bar> equal for class Foo<T extends Bar>
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public UseIterable<?> explicitTypeBoundIsSubtypeOfImplicitTypeBound(
            UseIterable<? extends Iterable<?>> obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

          aa.lazySet(i, VALUES[i]);
          assertBitEquals(VALUES[i], aa.get(i));
          aa.lazySet(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    
      /** compareAndSet succeeds in changing value if equal to expected else fails */
      public void testCompareAndSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(SIZE);
        for (int i : new int[] {0, SIZE - 1}) {
          double prev = 0.0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            assertTrue(
                    newArtifactVersion(left).compareTo(newArtifactVersion(right)) == 0,
                    left + " should be equal to " + right);
            assertTrue(
                    newArtifactVersion(right).compareTo(newArtifactVersion(left)) == 0,
                    right + " should be equal to " + left);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. internal/etag/reader.go

    // Reader compares the etag with the computed
    // MD5 sum once the r returns io.EOF.
    func NewReader(ctx context.Context, r io.Reader, etag ETag, forceMD5 []byte) *Reader {
    	if er, ok := r.(*Reader); ok {
    		if er.readN == 0 && Equal(etag, er.checksum) {
    			return er
    		}
    	}
    	if len(forceMD5) != 0 {
    		return &Reader{
    			src:      r,
    			md5:      NewUUIDHash(forceMD5),
    			checksum: etag,
    		}
    	}
    	return &Reader{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. schema/utils_test.go

    	}
    
    	for k, v := range tags {
    		if string(removeSettingFromTag(reflect.StructTag(k), "column")) != v {
    			t.Errorf("%v after removeSettingFromTag should equal %v, but got %v", k, v, removeSettingFromTag(reflect.StructTag(k), "column"))
    		}
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jul 31 10:19:25 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multisets.java

        private final Iterator<Entry<E>> entryIterator;
        @CheckForNull private Entry<E> currentEntry;
    
        /** Count of subsequent elements equal to current element */
        private int laterCount;
    
        /** Count of all elements equal to current element */
        private int totalCount;
    
        private boolean canRemove;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Multisets.java

        private final Iterator<Entry<E>> entryIterator;
        @CheckForNull private Entry<E> currentEntry;
    
        /** Count of subsequent elements equal to current element */
        private int laterCount;
    
        /** Count of all elements equal to current element */
        private int totalCount;
    
        private boolean canRemove;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Doubles.java

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

    		}
    
    		result.Add(NewPattern(testCase.prefix, ""), testCase.targetID)
    		if reflect.DeepEqual(result, testCase.rules) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    func TestRulesUnion(t *testing.T) {
    	rulesCase1 := make(Rules)
    	rules2Case1 := make(Rules)
    	expectedResultCase1 := make(Rules)
    
    	rulesCase2 := make(Rules)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.8K bytes
    - Viewed (0)
Back to top