Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 201 for initial (0.64 sec)

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

      }
    
      public void testAdd_laterFewWithSuccess() {
        int INITIAL_COUNT = 32;
        int COUNT_TO_ADD = 400;
    
        AtomicInteger initial = new AtomicInteger(INITIAL_COUNT);
        when(backingMap.get(KEY)).thenReturn(initial);
    
        assertEquals(INITIAL_COUNT, multiset.add(KEY, COUNT_TO_ADD));
        assertEquals(INITIAL_COUNT + COUNT_TO_ADD, initial.get());
      }
    
      public void testAdd_laterFewWithOverflow() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

      }
    
      public void testAdd_laterFewWithSuccess() {
        int INITIAL_COUNT = 32;
        int COUNT_TO_ADD = 400;
    
        AtomicInteger initial = new AtomicInteger(INITIAL_COUNT);
        when(backingMap.get(KEY)).thenReturn(initial);
    
        assertEquals(INITIAL_COUNT, multiset.add(KEY, COUNT_TO_ADD));
        assertEquals(INITIAL_COUNT + COUNT_TO_ADD, initial.get());
      }
    
      public void testAdd_laterFewWithOverflow() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        val headerBlock = literalHeaders(sentHeaders)
    
        // Write the first headers frame.
        writeMedium(frame, Http2.INITIAL_MAX_FRAME_SIZE)
        frame.writeByte(Http2.TYPE_HEADERS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE.toLong())
    
        // Write the continuation frame, specifying no more frames are expected.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  4. apache-maven/src/main/appended-resources/licenses/unrecognized-javax.annotation-api-1.3.2.txt

    2. License Grants.
    
        2.1. The Initial Developer Grant.
    
        Conditioned upon Your compliance with Section 3.1 below and subject
        to third party intellectual property claims, the Initial Developer
        hereby grants You a world-wide, royalty-free, non-exclusive license:
    
        (a) under intellectual property rights (other than patent or
        trademark) Licensable by Initial Developer, to use, reproduce,
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue May 11 18:59:18 GMT 2021
    - 38.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      // Assign an initial value to the variable, mirroring it to each component
      // device.
      {
        TensorHandlePtr initial_value_cpu = FloatTensorHandle(20., status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
        std::array<TFE_TensorHandle*, 2> components{initial_value_cpu.get(),
                                                    initial_value_cpu.get()};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MapMaker.java

       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
       */
      @CanIgnoreReturnValue
      public MapMaker initialCapacity(int initialCapacity) {
        checkState(
            this.initialCapacity == UNSET_INT,
            "initial capacity was already set to %s",
            this.initialCapacity);
        checkArgument(initialCapacity >= 0);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        assertFalse(called); // only called once.
        called = true;
        assertEquals(INITIAL_DELAY, initialDelay);
        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
        assertEquals(testRunnable, command);
      }
    
      public void testFixedRateSchedule() {
        Scheduler schedule = Scheduler.newFixedRateSchedule(INITIAL_DELAY, DELAY, UNIT);
        Cancellable unused =
            schedule.schedule(
                null,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      companion object {
        const val OKHTTP_CLIENT_WINDOW_SIZE = 16 * 1024 * 1024
    
        val DEFAULT_SETTINGS =
          Settings().apply {
            set(Settings.INITIAL_WINDOW_SIZE, DEFAULT_INITIAL_WINDOW_SIZE)
            set(Settings.MAX_FRAME_SIZE, Http2.INITIAL_MAX_FRAME_SIZE)
          }
    
        const val INTERVAL_PING = 1
        const val DEGRADED_PING = 2
        const val AWAIT_PING = 3
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        assertFalse(called); // only called once.
        called = true;
        assertEquals(INITIAL_DELAY, initialDelay);
        assertEquals(DELAY, delay);
        assertEquals(UNIT, unit);
        assertEquals(testRunnable, command);
      }
    
      public void testFixedRateSchedule() {
        Scheduler schedule = Scheduler.newFixedRateSchedule(INITIAL_DELAY, DELAY, UNIT);
        Cancellable unused =
            schedule.schedule(
                null,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  10. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

    1.4. "Covered Software"
    
         means Source Code Form to which the initial Contributor has attached the
         notice in Exhibit A, the Executable Form of such Source Code Form, and
         Modifications of such Source Code Form, in each case including portions
         thereof.
    
    1.5. "Incompatible With Secondary Licenses"
         means
    
         a. that the initial Contributor has attached the notice described in
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Feb 03 20:21:32 GMT 2023
    - 15.6K bytes
    - Viewed (0)
Back to top