Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for same (0.15 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      private static final class TestFuture {
    
        final ListenableFuture<String> future;
        final String name;
        final Runnable finisher;
    
        TestFuture(ListenableFuture<String> future, String name, Runnable finisher) {
          this.future = future;
          this.name = name;
          this.finisher = finisher;
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

       * the segment.
       */
      final int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final Segment<K, V>[] segments;
    
      /** The concurrency level. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(oldValueRef);
    
        // no entry
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    
        // same value
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertTrue(segment.replace(key, hash, oldValue, newValue));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        entry.setValueReference(oldValueRef);
    
        // no entry
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
    
        // same value
        table.set(index, entry);
        segment.count++;
        assertEquals(1, segment.count);
        assertSame(oldValue, segment.get(key, hash));
        assertTrue(segment.replace(key, hash, oldValue, newValue));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

       * the segment.
       */
      final int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
       * from also ending up in the same bucket.
       */
      final int segmentShift;
    
      /** The segments, each of which is a specialized hash table. */
      final Segment<K, V>[] segments;
    
      /** The concurrency level. */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

           * bugs are themselves just symptoms of the same underlying problem):
           *
           * https://github.com/typetools/checker-framework/issues/3030
           *
           * https://github.com/typetools/checker-framework/issues/3236
           */
          String key = (String) requireNonNull(e.nextElement());
          /*
           * requireNonNull is safe because the key came from propertyNames...
           *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      private static final class TestFuture {
    
        final ListenableFuture<String> future;
        final String name;
        final Runnable finisher;
    
        TestFuture(ListenableFuture<String> future, String name, Runnable finisher) {
          this.future = future;
          this.name = name;
          this.finisher = finisher;
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <h3>Cancelling</h3>
     *
     * Any step in a pipeline can be {@linkplain #cancel(boolean) cancelled}, even after another step
     * has been derived, with the same semantics as cancelling a {@link Future}. In addition, a
     * successfully cancelled step will immediately start closing all objects captured for later closing
     * by it and by its input steps.
     *
     * <h3>Ending a pipeline</h3>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_invalid_design_jsp_file_name = "{errors.invalid_design_jsp_file_name}";
    
        /** The key of the message: JSP file does not exist. */
        public static final String ERRORS_design_jsp_file_does_not_exist = "{errors.design_jsp_file_does_not_exist}";
    
        /** The key of the message: The file name is not specified. */
        public static final String ERRORS_design_file_name_is_not_found = "{errors.design_file_name_is_not_found}";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 119.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/cbean/ca/bs/BsUserCA.java

            }
        }
    
        public void scriptedMetric(String name, ConditionOptionCall<ScriptedMetricAggregationBuilder> opLambda) {
            ScriptedMetricAggregationBuilder builder = regScriptedMetricA(name);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void topHits(String name, ConditionOptionCall<TopHitsAggregationBuilder> opLambda) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 212.4K bytes
    - Viewed (0)
Back to top