Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 1,224 for equal (0.02 sec)

  1. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(Doubles.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Doubles.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Arrays.equals(new double[] {1.0, 0.0, 0.0}, Doubles.ensureCapacity(ARRAY1, 2, 1)))
            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        StackTraceElement[] elements = e.getStackTrace();
        for (int i = 0; i < elements.length; i++) {
          StackTraceElement element = elements[i];
          if (element.getClassName().equals(clazz) && element.getMethodName().equals(method)) {
            return i;
          }
        }
        throw new AssertionError(
            "Expected element " + clazz + "." + method + " not found in stack trace", e);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      private static final class CustomFunnel implements Funnel<Long> {
        @Override
        public void funnel(Long value, PrimitiveSink into) {
          into.putLong(value);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return object instanceof CustomFunnel;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
      }
    
      public void testPutReturnValue() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java

                    final String newId = ComponentUtil.getCrawlingInfoHelper().generateId(entity);
                    final String oldId = (String) entity.get(fessConfig.getIndexFieldId());
                    if (!newId.equals(oldId)) {
                        entity.put(fessConfig.getIndexFieldId(), newId);
                        entity.remove(fessConfig.getIndexFieldVersion());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        abstract int readBytesWireFormat(byte[] buffer, int bufferIndex);
    
        @Override
        public int hashCode() {
            return mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock) obj).mid == mid;
        }
    
        @Override
        public String toString() {
            String c = switch (command) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. cmd/handler-utils.go

    		metadata[strings.ToLower(xhttp.ContentType)] = "binary/octet-stream"
    	}
    
    	// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    	for k := range metadata {
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			delete(metadata, k)
    		}
    	}
    
    	if contentEncoding, ok := metadata[strings.ToLower(xhttp.ContentEncoding)]; ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.3K bytes
    - Viewed (1)
  7. guava-tests/test/com/google/common/net/MediaTypeTest.java

                    int modifiers = input.getModifiers();
                    return isPublic(modifiers)
                        && isStatic(modifiers)
                        && isFinal(modifiers)
                        && MediaType.class.equals(input.getType());
                  }
                });
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static FluentIterable<MediaType> getConstants() {
        return getConstantFields()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(tree.getReceiveBufferSize()).thenReturn(1024);
            when(tree.getSendBufferSize()).thenReturn(1024);
            when(tree.hasCapability(anyInt())).thenAnswer(inv -> ntSmbsCap && inv.getArgument(0).equals(SmbConstants.CAP_NT_SMBS));
            when(tree.areSignaturesActive()).thenReturn(false);
            when(tree.isSMB2()).thenReturn(smb2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

        final Charset charset;
    
        AsByteSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

        final Charset charset;
    
        AsByteSource(Charset charset) {
          this.charset = checkNotNull(charset);
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top