Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 617 for constructor (0.2 sec)

  1. guava/src/com/google/common/math/PairedStatsAccumulator.java

     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class PairedStatsAccumulator {
    
      // These fields must satisfy the requirements of PairedStats' constructor as well as those of the
      // stat methods of this class.
      private final StatsAccumulator xStats = new StatsAccumulator();
      private final StatsAccumulator yStats = new StatsAccumulator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                  protected SortedMap<String, String> create(Entry<String, String>[] entries) {
                    /*
                     * TODO(cpovirk): it would be nice to create an input Map and use
                     * the copy constructor here and in the other tests
                     */
                    return populate(new TreeMap<String, String>(), entries);
                  }
                })
            .named("TreeMap, natural")
            .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.Sink
    import okio.Source
    import okio.Timeout
    
    /** A logical bidirectional stream. */
    @Suppress("NAME_SHADOWING")
    class Http2Stream internal constructor(
      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) {
      internal val lock: ReentrantLock = ReentrantLock()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     * [rfc_7469]: http://tools.ietf.org/html/rfc7469
     * [static_certificates]: http://goo.gl/XDh6je
     */
    @Suppress("NAME_SHADOWING")
    class CertificatePinner internal constructor(
      val pins: Set<Pin>,
      internal val certificateChainCleaner: CertificateChainCleaner? = null,
    ) {
      /**
       * Confirms that at least one of the certificates pinned for `hostname` is in `peerCertificates`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/InternetDomainName.java

       * value.
       */
      @SuppressWarnings("Immutable")
      @LazyInit
      private int registrySuffixIndexCache = SUFFIX_NOT_INITIALIZED;
    
      /** Constructor used to implement {@link #from(String)}, and from subclasses. */
      InternetDomainName(String name) {
        // Normalize:
        // * ASCII characters to lowercase
        // * All dot-like characters to '.'
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    set of root certificates used in server authentication. Instead it will be a small set of
     *    roots private to an organization or service.
     */
    class HandshakeCertificates private constructor(
      @get:JvmName("keyManager") val keyManager: X509KeyManager,
      @get:JvmName("trustManager") val trustManager: X509TrustManager,
    ) {
      @JvmName("-deprecated_keyManager")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

            NullPointerException.class,
            () -> equalsTester.addEqualityGroup(reference, (Object[]) null));
      }
    
      /**
       * Test adding objects only by addEqualityGroup, with no reference object specified in the
       * constructor.
       */
      public void testAddEqualObjectWithOArgConstructor() {
        equalsTester.addEqualityGroup(equalObject1, notEqualObject1);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       * overflow checking and ensures that size() will function correctly even if
       * the multiset had once been larger than Integer.MAX_VALUE.
       */
      private transient long size;
    
      /** Standard constructor. */
      protected AbstractMapBasedMultiset(Map<E, Count> backingMap) {
        checkArgument(backingMap.isEmpty());
        this.backingMap = backingMap;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       */
      transient volatile long base;
    
      /** Spinlock (locked via CAS) used when resizing and/or creating Cells. */
      transient volatile int busy;
    
      /** Package-private default constructor */
      Striped64() {}
    
      /** CASes the base field. */
      final boolean casBase(long cmp, long val) {
        return UNSAFE.compareAndSwapLong(this, baseOffset, cmp, val);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

     * an [IOException] that was triggered by a certain caller can be caught and handled by that caller.
     */
    @Suppress("NAME_SHADOWING")
    class Http2Connection internal constructor(builder: Builder) : Closeable {
      internal val lock: ReentrantLock = ReentrantLock()
      internal val condition: Condition = lock.newCondition()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
Back to top