Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 99 for mantler (0.18 sec)

  1. android/guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

          super(master.size() + 3, MODIFIABLE, master, IteratorTester.KnownOrder.KNOWN_ORDER);
          this.master = master;
        }
    
        @Override
        protected Iterator<T> newTargetIterator() {
          // make copy from master to verify later
          targetList = Lists.newArrayList(master);
          Iterator<T> iterator = targetList.iterator();
          return Iterators.peekingIterator(iterator);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *
       * <pre>{@code
       * static final ImmutableClassToInstanceMap<Handler> HANDLERS =
       *     new ImmutableClassToInstanceMap.Builder<Handler>()
       *         .put(FooHandler.class, new FooHandler())
       *         .put(BarHandler.class, new SubBarHandler())
       *         .put(Handler.class, new QuuxHandler())
       *         .build();
       * }</pre>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  3. .github/pull_request_template.md

    <!--
    Please read the contribution guidelines at
    https://github.com/google/guava/wiki/HowToContribute#code-contributions
    and
    https://github.com/google/guava/blob/master/CONTRIBUTING.md
    before sending a pull request.
    
    We generally welcome PRs for fixing trivial bugs or typos, but please refrain
    from sending a PR with significant changes unless explicitly requested.
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 27 19:53:41 GMT 2023
    - 371 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24();
    
      // These constants were originally ported from https://www.131002.net/siphash/siphash24.c. See:
      // https://github.com/nahi/siphash-java-inline/blob/master/src/test/java/org/jruby/util/SipHashInlineTest.java
      private static final long[] EXPECTED =
          new long[] {
            0x726fdb47dd0e0e31L,
            0x74f839c593dc67fdL,
            0x0d6c8009d9a94f5aL,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun May 05 18:02:35 GMT 2019
    - 6.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/anotherpackage/SomeClassThatDoesNotUseNullable.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.testing.anotherpackage;
    
    /** Does not check null, but should not matter since it's in a different package. */
    @SuppressWarnings("unused") // For use by NullPointerTester
    public class SomeClassThatDoesNotUseNullable {
    
      void packagePrivateButDoesNotCheckNull(String s) {}
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 1.1K bytes
    - Viewed (0)
  6. guava-gwt/pom.xml

              <!-- The above exclusion doesn't actually matter unless I prevent Javadoc from autodiscovering the source in the sourcepath, which defaults to the source directory :\ Boo for -sourcepath. -->
              <sourcepath>doesnotexist</sourcepath>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

                return murmur3_32(seed).hashBytes(input).asBytes();
              }
            };
        // Murmur3A, MurmurHash3 for x86, 32-bit (MurmurHash3_x86_32)
        // https://github.com/aappleby/smhasher/blob/master/src/main.cpp
        HashTestUtils.verifyHashFunction(hf, 32, 0xB0F57EE3);
      }
    
      public void testParanoid() {
        HashFn hf =
            new HashFn() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 08 13:56:22 GMT 2021
    - 8.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

      }
    
      public void testAbstractFutureInitializationWithInnocuousThread_doesNotThrow() throws Exception {
        CountDownLatch latch = new CountDownLatch(1);
        // Setting a security manager causes the common ForkJoinPool to use InnocuousThreads with no
        // permissions.
        // submit()/join() causes this thread to execute the task instead, so we use a CountDownLatch as
        // a barrier to synchronize.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

                throw new SecurityException();
              }
    
              @Override
              public void checkPermission(Permission perm) {
                // Do nothing so we can clear the security manager at the end
              }
            });
        try {
          final String oldName = Thread.currentThread().getName();
          Supplier<String> newName = Suppliers.ofInstance("MyCrazyThreadName");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

    public class AbstractNonStreamingHashFunctionTest extends TestCase {
      /**
       * Constructs two trivial HashFunctions (output := input), one streaming and one non-streaming,
       * and checks that their results are identical, no matter which newHasher version we used.
       */
      public void testExhaustive() {
        List<Hasher> hashers =
            ImmutableList.of(
                new StreamingVersion().newHasher(),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
Back to top