Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 3,753 for private (0.18 sec)

  1. 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 {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

     *
     */
    @PlexusTest
    @Deprecated
    class DefaultArtifactCollectorTest {
        @Inject
        private LegacyArtifactCollector artifactCollector;
    
        @Inject
        private ArtifactFactory artifactFactory;
    
        private ArtifactSpec projectArtifact;
    
        private Source source;
    
        private static final String GROUP_ID = "test";
    
        @BeforeEach
        void setUp() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

    /** Writes HTTP/2 transport frames. */
    @Suppress("NAME_SHADOWING")
    class Http2Writer(
      private val sink: BufferedSink,
      private val client: Boolean,
    ) : Closeable {
      internal val lock: ReentrantLock = ReentrantLock()
    
      private val hpackBuffer: Buffer = Buffer()
      private var maxFrameSize: Int = INITIAL_MAX_FRAME_SIZE
      private var closed: Boolean = false
      val hpackWriter: Hpack.Writer = Hpack.Writer(out = hpackBuffer)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/CollectorTester.java

              Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) {
        return new CollectorTester<>(collector, equivalence);
      }
    
      private final Collector<T, A, R> collector;
      private final BiPredicate<? super R, ? super R> equivalence;
    
      private CollectorTester(
          Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) {
        this.collector = checkNotNull(collector);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/EnumBiMap.java

        EnumBiMap<K, V> bimap =
            create(inferKeyTypeOrObjectUnderJ2cl(map), inferValueTypeOrObjectUnderJ2cl(map));
        bimap.putAll(map);
        return bimap;
      }
    
      private EnumBiMap(Class<K> keyTypeOrObjectUnderJ2cl, Class<V> valueTypeOrObjectUnderJ2cl) {
        super(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EnumBiMap.java

        EnumBiMap<K, V> bimap =
            create(inferKeyTypeOrObjectUnderJ2cl(map), inferValueTypeOrObjectUnderJ2cl(map));
        bimap.putAll(map);
        return bimap;
      }
    
      private EnumBiMap(Class<K> keyTypeOrObjectUnderJ2cl, Class<V> valueTypeOrObjectUnderJ2cl) {
        super(
            new EnumMap<K, V>(keyTypeOrObjectUnderJ2cl), new EnumMap<V, K>(valueTypeOrObjectUnderJ2cl));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

    /**
     * @author mbechler
     *
     */
    public class Smb2SigningDigest implements SMBSigningDigest {
    
        private static final Logger log = LoggerFactory.getLogger(Smb2SigningDigest.class);
    
        /**
         * 
         */
        private static final int SIGNATURE_OFFSET = 48;
        private static final int SIGNATURE_LENGTH = 16;
        private final Mac digest;
    
        /**
         * @param sessionKey
         * @param dialect
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Aug 17 17:34:29 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/hash/HashFunctionBenchmark.java

     */
    public class HashFunctionBenchmark {
    
      // Use a statically configured random instance for all of the benchmarks
      private static final Random random = new Random(42);
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      @Param HashFunctionEnum hashFunctionEnum;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        random.nextBytes(testBytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    
    class FakeDns : Dns {
      private val hostAddresses: MutableMap<String, List<InetAddress>> = mutableMapOf()
      private val requestedHosts: MutableList<String> = mutableListOf()
      private var nextAddress = 0xff000064L // 255.0.0.100 in IPv4; ::ff00:64 in IPv6.
    
      /** Sets the results for `hostname`.  */
      operator fun set(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/MultiReader.java

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    class MultiReader extends Reader {
      private final Iterator<? extends CharSource> it;
      @CheckForNull private Reader current;
    
      MultiReader(Iterator<? extends CharSource> readers) throws IOException {
        this.it = readers;
        advance();
      }
    
      /** Closes the current reader and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top