Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for recast (0.16 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

        int h;
        if (hc == null) {
          threadHashCode.set(hc = new int[1]); // Initialize randomly
          int r = rng.nextInt(); // Avoid zero to allow xorShift rehash
          h = hc[0] = (r == 0) ? 1 : r;
        } else h = hc[0];
        boolean collide = false; // True if last slot nonempty
        for (; ; ) {
          Cell[] as;
          Cell a;
          int n;
          long v;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                            Files.getLastModifiedTime(outputFile).toMillis();
                    if (outputFileLastModified > artifactLastModified) {
                        LOGGER.warn(
                                "File '{}' is more recent than the packaged artifact for '{}', "
                                        + "please run a full `mvn package` build",
                                relativizeOutputFile(outputFile),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThat(map.segments).hasLength(1);
      }
    
      public void testConcurrencyLevel_large() {
        CacheBuilder.newBuilder().concurrencyLevel(Integer.MAX_VALUE);
        // don't actually build this beast
      }
    
      public void testMaximumSize_negative() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        try {
          builder.maximumSize(-1);
          fail();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Throwables.java

       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      @CheckForNull
      public static <X extends Throwable> X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * @throws ClassCastException if the cause cannot be cast to the expected type. The {@code
       *     ClassCastException}'s cause is {@code throwable}.
       * @since 22.0
       */
      @GwtIncompatible // Class.cast(Object)
      @CheckForNull
      public static <X extends Throwable> X getCauseAs(
          Throwable throwable, Class<X> expectedCauseType) {
        try {
          return expectedCauseType.cast(throwable.getCause());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashBiMap.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    
      @GwtIncompatible // Not needed in emulated source
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            }
    
            /**
             * A comparable value for the empty-string qualifier. This one is used to determine if a given qualifier makes
             * the version older than one without a qualifier, or more recent.
             */
            private static final String RELEASE_VERSION_INDEX = String.valueOf(QUALIFIERS.indexOf(""));
    
            private final String value;
    
            StringItem(String value, boolean followedByDigit) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(dummyEntry, dummyValueRef);
        segment.setTableEntryForTesting(index, dummyEntry);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        segment.setWeakValueReferenceForTesting(dummyEntry, dummyValueRef);
        segment.setTableEntryForTesting(index, dummyEntry);
        // returns the most recent entry
        assertSame(dummyValue, segment.get(key, hash));
        assertTrue(segment.containsKey(key, hash));
        assertTrue(segment.containsValue(value));
        assertTrue(segment.containsValue(dummyValue));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
Back to top