Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for Segijn (0.44 sec)

  1. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
        misses.set(0);
      }
    
      @Benchmark
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                            }
                        } else {
                            populate( new InputStreamReader( new SmbFileInputStream( url )));
                        }
                    } else if( line.startsWith( "#BEGIN_ALTERNATE" )) {
                        alt++;
                    } else if( line.startsWith( "#END_ALTERNATE" ) && alt > 0 ) {
                        alt--;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * <h4>Automatically closing</h4>
     *
     * You can extract a {@link Future} that represents the result of the last step in the pipeline by
     * calling {@link #finishToFuture()}. All objects the pipeline has captured for closing will begin
     * to be closed asynchronously <b>after</b> the returned {@code Future} is done: the future
     * completes before closing starts, rather than once it has finished.
     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
    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)
  4. android/guava/src/com/google/common/cache/LocalCache.java

         * comments.
         */
    
        @Weak final LocalCache<K, V> map;
    
        /** The number of live elements in this segment's region. */
        volatile int count;
    
        /** The weight of the live elements in this segment's region. */
        @GuardedBy("this")
        long totalWeight;
    
        /**
         * Number of updates that alter the size of the table. This is used during bulk-read methods to
    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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            String value = ENTITIES.get(scanner.region().toLowerCase());
            buffer.append(value);
            scanner.next();
        }
    
        private void parseHtmlEncodedChar(StringBuilder buffer) {
            scanner.next(2);
            scanner.mark();
            scanner.find(';');
            String value = new String(new char[]{(char) Integer.parseInt(scanner.region())});
            buffer.append(value);
            scanner.next();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            statsCache.asMap().entrySet().stream().forEach(e -> {
                final StatsObject data = e.getValue();
                final Long begin = data.remove(BEGIN_KEY);
                if (begin != null) {
                    printStats(e.getKey(), data, begin, false);
                }
            });
    
        }
    
        public void begin(final Object keyObj) {
            getCacheKey(keyObj).ifPresent(key -> {
                try {
                    statsCache.get(key);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        @Override
        protected void implCloseChannel() {
          throw new RuntimeException("I bet you didn't think Thread.interrupt could throw");
        }
    
        void doBegin() {
          super.begin();
        }
      }
    
      /**
       * Because Thread.interrupt() can invoke arbitrary code, it can be slow (e.g. perform IO). To
       * protect ourselves from that we want to make sure that tasks don't spin too much waiting for the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/EnumHashBiMap.java

         * the number of entries in the map, as that makes it easy for hostile inputs to trigger lots of
         * allocation—not that any program should be deserializing hostile inputs to begin with!)
         */
        setDelegates(new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new HashMap<V, K>());
        Serialization.populateMap(this, stream);
      }
    
      @GwtIncompatible // only needed in emulated source.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Predicates.java

      @GwtIncompatible(value = "java.util.regex.Pattern")
      public static Predicate<CharSequence> contains(Pattern pattern) {
        return new ContainsPatternPredicate(new JdkPattern(pattern));
      }
    
      // End public API, begin private implementation classes.
    
      // Package private for GWT serialization.
      enum ObjectPredicate implements Predicate<@Nullable Object> {
        /** @see Predicates#alwaysTrue() */
        ALWAYS_TRUE {
          @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        }
      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
       * @param occurrences the number of occurrences of the element to remove
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top