Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Keat (0.31 sec)

  1. android/guava/src/com/google/common/collect/Interners.java

            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Interners.java

            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
               * Technically this loop not guaranteed to terminate, so theoretically (extremely
               * unlikely) this thread might starve, but even then, there is always going to be another
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                        artifact.setRepository(repository);
                        break;
                    }
                } catch (ResourceDoesNotExistException e) {
                    // This one we will eat when looking through remote repositories
                    // because we want to cycle through them all before squawking.
    
                    logger.debug(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 29.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        final List<Comparable<?>> compEvents = Lists.newArrayList();
        Object compCatcher =
            new Object() {
              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        final List<Comparable<?>> compEvents = Lists.newArrayList();
        Object compCatcher =
            new Object() {
              @SuppressWarnings("unused")
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            Optional<Long> size = byteSource.sizeIfKnown();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
          String read(ByteSource byteSource, Charset cs) throws IOException {
            Optional<Long> size = byteSource.sizeIfKnown();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/DES.java

    // DesCipher - the DES encryption method
    //
    // The meat of this code is by Dave Zimmerman <******@****.***>, and is:
    //
    // Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved.
    //
    // Permission to use, copy, modify, and distribute this software
    // and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and
    // without fee is hereby granted, provided that this copyright notice is kept
    // intact.
    //
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
Back to top