Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Composite (0.07 sec)

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

              composites.add(new Composite<T>(t, 1));
            }
            for (T t : scenario.strictlyOrderedList) {
              composites.add(new Composite<T>(t, 2));
            }
            Ordering<Composite<T>> ordering =
                Ordering.<Composite<T>>natural()
                    .compound(scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
            return new Scenario<Composite<T>>(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

              composites.add(new Composite<T>(t, 1));
            }
            for (T t : scenario.strictlyOrderedList) {
              composites.add(new Composite<T>(t, 2));
            }
            Ordering<Composite<T>> ordering =
                Ordering.<Composite<T>>natural()
                    .compound(scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
            return new Scenario<Composite<T>>(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Return just the base; caller is responsible for placing ctx at the correct absolute offset.
            // We will return a composite buffer from the test when building the full packet.
            // To keep this helper simple, return base and let the caller append/pad and inject ctx.
            return base;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

        val dateFormat =
          SimpleDateFormat("yyyyMMddHHmmss'Z'").apply {
            timeZone = utc
          }
    
        return dateFormat.format(date)
      }
    
      /**
       * Returns a composite adapter for a struct or data class. This may be used for both SEQUENCE and
       * SET types.
       *
       * The fields are specified as a list of member adapters. When decoding, a value for each
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

      override fun timeout(): Timeout = timeout
    
      override fun addEventListener(eventListener: EventListener) {
        // Atomically replace the current eventListener with a composite one.
        do {
          val previous = this.eventListener
        } while (!eventListenerUpdater.compareAndSet(this, previous, previous + eventListener))
      }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

       * than one</i> that cannot be factored into a product of <i>smaller</i> positive integers.
       * Returns {@code false} if {@code n} is zero, one, or a composite number (one which <i>can</i> be
       * factored into smaller positive integers).
       *
       * <p>To test larger numbers, use {@link BigInteger#isProbablePrime}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            // has already been moved.
            parent = elementData(removeIndex);
          } else {
            parent = elementData(getParentIndex(removeIndex));
          }
          // bubble it up the opposite heap
          if (otherHeap.bubbleUpAlternatingLevels(crossOver, toTrickle) < removeIndex) {
            return new MoveDesc<>(toTrickle, parent);
          } else {
            return null;
          }
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDeadlock_twoLocks() {
        // Establish an acquisition order of lockA -> lockB.
        lockA.lock();
        lockB.lock();
        lockA.unlock();
        lockB.unlock();
    
        // The opposite order should fail (Policies.THROW).
        PotentialDeadlockException firstException = null;
        lockB.lock();
        PotentialDeadlockException expected =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Invokable.java

         * constructor's. This is an arbitrary rule since no existing language spec mandates one way or
         * the other. From the declaration syntax, the class type parameter appears first, but the call
         * syntax may show up in opposite order such as {@code new <A>Foo<B>()}.
         */
        @Override
        public final TypeVariable<?>[] getTypeParameters() {
          TypeVariable<?>[] declaredByClass = getDeclaringClass().getTypeParameters();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

         * execute all peer settings logic on the writer thread. This relies on the fact that the
         * writer task queue won't reorder tasks; otherwise settings could be applied in the opposite
         * order than received.
         */
        fun applyAndAckSettings(
          clearPrevious: Boolean,
          settings: Settings,
        ) {
          var delta: Long
          var streamsToNotify: Array<Http2Stream>?
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
Back to top