Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 129 for tracers (0.09 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          }
    
          sleepNanos(response.headersDelayNanos)
          stream.writeHeaders(response.toHttp2Headers(), outFinished, flushHeaders)
    
          if (trailers.size > 0) {
            stream.enqueueTrailers(trailers)
          }
          pushPromises(stream, request, response.pushPromises)
          if (body != null) {
            sleepNanos(bodyDelayNanos)
            val responseBodySink =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  2. cmd/os-instrumented.go

    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceOS,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "os." + s.String(),
    		Duration:  duration,
    		Path:      path,
    		Error:     errStr,
    	}
    }
    
    func updateOSMetrics(s osMetric, paths ...string) func(err error) {
    	if globalTrace.NumSubscribers(madmin.TraceOS) == 0 {
    		osAction := globalOSMetrics.time(s)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/HeadersRequestTest.kt

        val request =
          Request.Builder()
            .url("http://square.com/")
            .header("TE", "trailers")
            .build()
        val expected =
          headerEntries(
            ":method",
            "GET",
            ":path",
            "/",
            ":scheme",
            "http",
            "te",
            "trailers",
          )
        assertThat(http2HeadersList(request)).isEqualTo(expected)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        var trailers: Headers = mockResponse.trailers
        mockResponse = mockResponse.clearHeaders()
        mockResponse = mockResponse.addHeader("")
        mockResponse = mockResponse.addHeader("", "")
        mockResponse = mockResponse.addHeaderLenient("", Any())
        mockResponse = mockResponse.setHeader("", Any())
        mockResponse.headers = headersOf()
        mockResponse.trailers = headersOf()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

      for (pushPromise in pushPromises) {
        result.addPush(pushPromise.wrap())
      }
    
      result.settings(settings)
      result.status = status
      result.headers(headers)
      result.trailers(trailers)
      result.socketPolicy =
        when (socketPolicy) {
          SocketPolicy.EXPECT_CONTINUE, SocketPolicy.CONTINUE_ALWAYS -> {
            result.add100Continue()
            KeepOpen
          }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt

      fun reportedContentLength(response: Response): Long
    
      @Throws(IOException::class)
      fun openResponseBodySource(response: Response): Source
    
      /** Returns the trailers after the HTTP response. May be empty. */
      @Throws(IOException::class)
      fun trailers(): Headers
    
      /**
       * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously.
       * That may happen later by the connection pool thread.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    func (ahs *allHealState) updateHealStatus(tracker *healingTracker) {
    	ahs.Lock()
    	defer ahs.Unlock()
    
    	tracker.mu.RLock()
    	t := *tracker
    	t.QueuedBuckets = append(make([]string, 0, len(tracker.QueuedBuckets)), tracker.QueuedBuckets...)
    	t.HealedBuckets = append(make([]string, 0, len(tracker.HealedBuckets)), tracker.HealedBuckets...)
    	ahs.healStatus[tracker.ID] = t
    	tracker.mu.RUnlock()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

      /**
       * Process the response without even attempting to reading the request body. For HTTP/2 this will
       * send [http2ErrorCode] after the response body or trailers. For HTTP/1 this will close the
       * socket after the response body or trailers.
       */
      class DoNotReadRequestBody(
        val http2ErrorCode: Int = 0,
      ) : SocketPolicy
    
      /** Don't trust the client during the SSL handshake. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    		if peer == nil {
    			continue
    		}
    		peer.Trace(ctx, traceCh, traceOpts)
    	}
    
    	keepAliveTicker := time.NewTicker(time.Second)
    	defer keepAliveTicker.Stop()
    
    	for {
    		select {
    		case entry := <-traceCh:
    			if _, err := w.Write(entry); err != nil {
    				return
    			}
    			grid.PutByteBuffer(entry)
    			if len(traceCh) == 0 {
    				// Flush if nothing is queued
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. cmd/grid.go

    		AuthFn:       newCachedAuthToken(),
    		BlockConnect: globalGridStart,
    		// Record incoming and outgoing bytes.
    		Incoming:  globalConnStats.incInternodeInputBytes,
    		Outgoing:  globalConnStats.incInternodeOutputBytes,
    		TraceTo:   globalTrace,
    		RoutePath: grid.RoutePath,
    	})
    	if err != nil {
    		return err
    	}
    	globalGrid.Store(g)
    	return nil
    }
    
    func initGlobalLockGrid(ctx context.Context, eps EndpointServerPools) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top