Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,777 for Equals (0.05 sec)

  1. 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[] {(double) 1, (double) 0, (double) 0},
                    Doubles.ensureCapacity(ARRAY1, 2, 1)))
            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(Floats.ensureCapacity(ARRAY1, 0, 1)).isSameInstanceAs(ARRAY1);
        assertThat(Floats.ensureCapacity(ARRAY1, 1, 1)).isSameInstanceAs(ARRAY1);
        assertThat(
                Arrays.equals(
                    new float[] {(float) 1, (float) 0, (float) 0}, Floats.ensureCapacity(ARRAY1, 2, 1)))
            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

        @Override
        @J2ktIncompatible // serialization
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        return Lists.equalsImpl(this, obj);
      }
    
      @Override
      public int hashCode() {
        int hashCode = 1;
        int n = size();
        for (int i = 0; i < n; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                    final int idx = contentType.indexOf(';');
                    if (idx > 0) {
                        contentType = contentType.substring(0, idx);
                        if (APPLICATION_OCTET_STREAM.equals(contentType)) {
                            contentType = null;
                        }
                    }
                }
    
                long contentLength = 0;
                String contentEncoding = Constants.UTF_8;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  5. cmd/api-response.go

    			// values to client.
    			toRemove = append(toRemove, k)
    			continue
    		}
    
    		// https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		if equals(k, xhttp.AmzMetaUnencryptedContentLength, xhttp.AmzMetaUnencryptedContentMD5) {
    			toRemove = append(toRemove, k)
    			continue
    		}
    	}
    
    	for _, k := range toRemove {
    		delete(m, k)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/erasure-healing.go

    		return true, erErr
    	}
    	if erErr == nil {
    		if meta.XLV1 {
    			// Legacy means heal always
    			// always check first.
    			return true, errLegacyXLMeta
    		}
    		if !latestMeta.Equals(meta) {
    			return true, errOutdatedXLMeta
    		}
    		if !meta.Deleted && !meta.IsRemote() {
    			// If xl.meta was read fine but there may be problem with the part.N files.
    			for _, partErr := range partsErrs {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          assertEquals(0, q.size());
          assertNull(q.peek());
          assertNull(q.poll());
          assertNull(q.poll(0, MILLISECONDS));
          assertEquals("[]", q.toString());
          assertTrue(Arrays.equals(q.toArray(), new Object[0]));
          assertFalse(q.iterator().hasNext());
          try {
            q.element();
            shouldThrow();
          } catch (NoSuchElementException success) {
          }
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/ArrayUtil.java

            if (array != null) {
                for (int i = fromIndex; i < array.length; ++i) {
                    final Object o = array[i];
                    if (o != null) {
                        if (o.equals(obj)) {
                            return i;
                        }
                    } else if (obj == null) {
                        return i;
    
                    }
                }
            }
            return -1;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

          return null;
        }
        // requireNonNull is safe because paths have file names when they have parents.
        Path pathResolvedFromParent = parentPath.resolve(requireNonNull(path.getFileName()));
        if (exceptionFile.equals(pathResolvedFromParent.toString())) {
          return noSuchFileException;
        }
        return null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/MoreFiles.java

          return null;
        }
        // requireNonNull is safe because paths have file names when they have parents.
        Path pathResolvedFromParent = parentPath.resolve(requireNonNull(path.getFileName()));
        if (exceptionFile.equals(pathResolvedFromParent.toString())) {
          return noSuchFileException;
        }
        return null;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top