Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 367 for initial (0.16 sec)

  1. cmd/leak-detect_test.go

    	}
    	return snapshot
    }
    
    // CompareCurrentSnapshot - Compares the initial relevant stack trace with the current one (during the time of invocation).
    func (initialSnapShot LeakDetect) CompareCurrentSnapshot() []string {
    	var stackDiff []string
    	for _, g := range pickRelevantGoroutines() {
    		// Identify the Go routines those were not present in the initial snapshot.
    		// In other words a stack diff.
    		if !initialSnapShot.relevantRoutines[g] {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(ping.ack).isTrue()
      }
    
      @Test fun peerHttp2ServerLowersInitialWindowSize() {
        val initial = Settings()
        initial[Settings.INITIAL_WINDOW_SIZE] = 1684
        val shouldntImpactConnection = Settings()
        shouldntImpactConnection[Settings.INITIAL_WINDOW_SIZE] = 3368
        peer.sendFrame().settings(initial)
        peer.acceptFrame() // ACK
        peer.sendFrame().settings(shouldntImpactConnection)
        peer.acceptFrame() // ACK 2
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         *
         * Our solution is for threads to CAS seenExceptions from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that seenExceptions
         * always contains not just the current thread's exception but also the initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptions;
        if (seenExceptionsLocal == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  7. internal/grid/README.md

    ## Streaming Requests
    
    Streams consists of an initial request with payload and allows for full two-way communication between the client and server.
    
    The handler function has this signature.
    
    Sample handler:
    ```go
        handler :=  func(ctx context.Context, payload []byte, in <-chan []byte, out chan<- []byte) *RemoteErr {
            fmt.Println("Got request with initial payload", p, "from", GetCaller(ctx context.Context))
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. internal/bucket/bandwidth/measurement.go

    	startTime            time.Time // Start time for window
    	expMovingAvg         float64   // Previously calculate sliding window
    }
    
    // newBucketMeasurement creates a new instance of the measurement with the initial start time.
    func newBucketMeasurement(initTime time.Time) *bucketMeasurement {
    	return &bucketMeasurement{
    		startTime: initTime,
    	}
    }
    
    // incrementBytes add bytes reported for a bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jun 03 20:41:51 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

      private transient AtomicLong value;
    
      /**
       * Creates a new {@code AtomicDouble} with the given initial value.
       *
       * @param initialValue the initial value
       */
      public AtomicDouble(double initialValue) {
        value = new AtomicLong(doubleToRawLongBits(initialValue));
      }
    
      /** Creates a new {@code AtomicDouble} with initial value {@code 0.0}. */
      public AtomicDouble() {
        this(0.0);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  10. 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)
Back to top