Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for tracers (0.12 sec)

  1. internal/grid/trace.go

    func (c *Connection) traceRequests(p *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) {
    	c.trace = &tracer{
    		Publisher: p,
    		TraceType: madmin.TraceInternal,
    		Prefix:    "grid",
    		Local:     c.Local,
    		Remote:    c.Remote,
    		Subroute:  "",
    	}
    }
    
    // subroute adds a specific subroute to the request.
    func (c *tracer) subroute(subroute string) *tracer {
    	if c == nil {
    		return nil
    	}
    	c2 := *c
    	c2.Subroute = subroute
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    		h.ServeHTTP(respRecorder, r)
    		reqEndTime := time.Now().UTC()
    
    		if globalTrace.NumSubscribers(madmin.TraceS3|madmin.TraceInternal) == 0 {
    			// no subscribers nothing to trace.
    			return
    		}
    
    		tt := madmin.TraceInternal
    		if strings.HasPrefix(tc.FuncName, "s3.") {
    			tt = madmin.TraceS3
    		}
    
    		// Calculate input body size with headers
    		reqHeaders := r.Header.Clone()
    		reqHeaders.Set("Host", r.Host)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. cmd/global-heal.go

    		return errServerNotInitialized
    	}
    
    	started := tracker.Started
    	if started.IsZero() || started.Equal(timeSentinel) {
    		healingLogIf(ctx, fmt.Errorf("unexpected tracker healing start time found: %v", started))
    		started = time.Time{}
    	}
    
    	// Final tracer update before quitting
    	defer func() {
    		tracker.setObject("")
    		tracker.setBucket("")
    		healingLogIf(ctx, tracker.update(ctx))
    	}()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    		tracker.resetHealing()
    		bugLogIf(ctx, tracker.update(ctx))
    
    		return errRetryHealing
    	}
    
    	if tracker.ItemsFailed > 0 {
    		healingLogEvent(ctx, "Healing of drive '%s' is incomplete, retried %d times (healed: %d, skipped: %d, failed: %d).", disk,
    			tracker.RetryAttempts, tracker.ItemsHealed, tracker.ItemsSkipped, tracker.ItemsFailed)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                InputLocationTracker tracker) {
            if (!validateNotNull(prefix, fieldName, problems, severity, version, string, sourceHint, tracker)) {
                return false;
            }
    
            if (!string.isEmpty()) {
                return true;
            }
    
            addViolation(problems, severity, version, prefix + fieldName, sourceHint, "is missing.", tracker);
    
            return false;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        fun headers(headers: Headers) =
          apply {
            this.headers = headers.newBuilder()
          }
    
        /** Sets the trailers and returns this. */
        fun trailers(trailers: Headers) =
          apply {
            this.trailers = trailers.newBuilder()
          }
    
        /** Sets the socket policy and returns this. */
        fun socketPolicy(socketPolicy: SocketPolicy) =
          apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt

      @JvmName("-deprecated_getTrailers")
      @Deprecated(
        message = "moved to var",
        replaceWith = ReplaceWith(expression = "trailers"),
        level = DeprecationLevel.ERROR,
      )
      fun getTrailers(): Headers = trailers
    
      fun setTrailers(trailers: Headers) = apply { this.trailers = trailers }
    
      @JvmName("-deprecated_getSocketPolicy")
      @Deprecated(
        message = "moved to var",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

        assertThat(response.trailers()).isEmpty()
      }
    
      @Test
      fun testFailsIfTrailersNotSet() {
        val response =
          newResponse("".toResponseBody()) {
            // All live paths (Http1, Http2) in OkHttp do this
            trailers { error("trailers not available") }
          }
    
        assertFailsWith<IllegalStateException>(message = "trailers not available") {
          response.trailers()
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

        if (flushHeaders) {
          connection.flush()
        }
      }
    
      fun enqueueTrailers(trailers: Headers) {
        this.withLock {
          check(!sink.finished) { "already finished" }
          require(trailers.size != 0) { "trailers.size() == 0" }
          this.sink.trailers = trailers
        }
      }
    
      fun readTimeout(): Timeout = readTimeout
    
      fun writeTimeout(): Timeout = writeTimeout
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  10. lib/wasm/wasm_exec_node.js

    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    	console.error(err);
    	process.exit(1);
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Aug 30 19:15:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top