Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,714 for private (0.19 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

      public final class FactoryMethodReturnValueTester {
        private final Set<String> packagesToTest = Sets.newHashSet();
        private final Class<?> declaringClass;
        private final ImmutableList<Invokable<?, ?>> factories;
        private final String factoryMethodsDescription;
        private Class<?> returnTypeToTest = Object.class;
    
        private FactoryMethodReturnValueTester(
            Class<?> declaringClass,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

      @Retention(RetentionPolicy.RUNTIME)
      private @interface Tested {}
    
      private abstract static class A {
        @Tested private boolean privateField;
        @Tested int packagePrivateField;
        @Tested protected int protectedField;
        @Tested public String publicField;
        @Tested private static Iterable<String> staticField;
        @Tested private final Object finalField;
        private volatile char volatileField;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

        // was some asymmetry so that the initial v0 and v1 differ from v2 and v3.
        private long v0 = 0x736f6d6570736575L;
        private long v1 = 0x646f72616e646f6dL;
        private long v2 = 0x6c7967656e657261L;
        private long v3 = 0x7465646279746573L;
    
        // The number of bytes in the input.
        private long b = 0;
    
        // The final 64-bit chunk includes the last 0 through 7 bytes of m followed by null bytes
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 5.3K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            };
          }
        };
    
        abstract ExecutionListWrapper newExecutionList();
      }
    
      private ThreadPoolExecutor executorService;
      private CountDownLatch listenerLatch;
      private ExecutionListWrapper list;
    
      @Param Impl impl;
    
      @Param({"1", "5", "10"})
      int numListeners;
    
      private final Runnable listener =
          new Runnable() {
            @Override
            public void run() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
          return checkNotNull(bytes);
        }
      }
    
      private static class FileByteSinkFactory extends FileFactory implements ByteSinkFactory {
    
        private final byte[] initialBytes;
    
        private FileByteSinkFactory(byte @Nullable [] initialBytes) {
          this.initialBytes = initialBytes;
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Predicates.java

          return "Predicates.not(" + predicate + ")";
        }
    
        private static final long serialVersionUID = 0;
      }
    
      /** @see Predicates#and(Iterable) */
      private static class AndPredicate<T extends @Nullable Object>
          implements Predicate<T>, Serializable {
        private final List<? extends Predicate<? super T>> components;
    
        private AndPredicate(List<? extends Predicate<? super T>> components) {
    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)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * @since 10.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class NullPointerTester {
    
      private final ClassToInstanceMap<Object> defaults = MutableClassToInstanceMap.create();
      private final List<Member> ignoredMembers = Lists.newArrayList();
    
      private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE;
    
      public NullPointerTester() {
        try {
          /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/Dispatcher.java

              }
            } finally {
              dispatching.remove();
              queue.remove();
            }
          }
        }
    
        private static final class Event {
          private final Object event;
          private final Iterator<Subscriber> subscribers;
    
          private Event(Object event, Iterator<Subscriber> subscribers) {
            this.event = event;
            this.subscribers = subscribers;
          }
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertThat(resolved.getActualTypeArguments()).asList().contains(String.class);
      }
    
      private interface StringListPredicate extends Predicate<List<String>> {}
    
      private interface IntegerSupplier extends Supplier<Integer> {}
    
      // Intentionally duplicate the Predicate interface to test that it won't cause
      // exceptions
      private interface IntegerStringFunction
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          new Murmur3_32HashFunction(Hashing.GOOD_FAST_HASH_SEED, /* supplementaryPlaneFix= */ true);
    
      private static final int CHUNK_SIZE = 4;
    
      private static final int C1 = 0xcc9e2d51;
      private static final int C2 = 0x1b873593;
    
      private final int seed;
      private final boolean supplementaryPlaneFix;
    
      Murmur3_32HashFunction(int seed, boolean supplementaryPlaneFix) {
        this.seed = seed;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 11.9K bytes
    - Viewed (0)
Back to top