Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 538 for start_time (0.18 sec)

  1. src/cmd/go/testdata/script/build_issue6480.txt

    # Check errors.test mtime is updated
    exec $GOBIN/now
    cp stdout start_time.txt
    go test -x -c -test.bench=XXX errors
    ! stderr '[\\/]link|gccgo' # make sure up-to-date test binary is not relinked
    exec $GOBIN/mtime errors.test$GOEXE
    cp stdout errors1_mod_time.txt
    exec $GOBIN/before start_time.txt errors1_mod_time.txt
    rm start_time.txt errors1_mod_time.txt
    
    # Check errors2.test mtime is updated
    exec $GOBIN/now
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  2. docs_src/middleware/tutorial001.py

    import time
    
    from fastapi import FastAPI, Request
    
    app = FastAPI()
    
    
    @app.middleware("http")
    async def add_process_time_header(request: Request, call_next):
        start_time = time.time()
        response = await call_next(request)
        process_time = time.time() - start_time
        response.headers["X-Process-Time"] = str(process_time)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 349 bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry_logging_test.go

    		},
    		{
    			name:         "contains newline",
    			formatString: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% \n",
    			expected:     "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% \n",
    		},
    		{
    			name:         "miss newline",
    			formatString: "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%",
    			expected:     "[%START_TIME%] %REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\n",
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. tests/integration/pilot/forwardproxy/envoy_config_generator.go

    				PortSpecifier: &envoy_core.SocketAddress_PortValue{
    					PortValue: port,
    				},
    				Ipv4Compat: true,
    			},
    		},
    	}
    }
    
    func createAccessLogFormat(listenerName string) string {
    	return "[%START_TIME%] " + listenerName + " \"%PROTOCOL% %REQ(:METHOD)% %REQ(:AUTHORITY)%\" " +
    		"%RESPONSE_CODE% %RESPONSE_FLAGS% %RESPONSE_CODE_DETAILS% " +
    		"%CONNECTION_TERMINATION_DETAILS% \"%UPSTREAM_TRANSPORT_FAILURE_REASON%\" " +
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 27 19:22:30 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_logging.go

    	// the reason why Envoy rejects a request.
    	EnvoyJSONLogFormatIstio = &structpb.Struct{
    		Fields: map[string]*structpb.Value{
    			"start_time":                        {Kind: &structpb.Value_StringValue{StringValue: "%START_TIME%"}},
    			"route_name":                        {Kind: &structpb.Value_StringValue{StringValue: "%ROUTE_NAME%"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/testdata/configdump.json

                                  "path": "/dev/stdout",
                                  "log_format": {
                                    "text_format_source": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/kernels/xla_ops.cc

        xla::ExecutableRunOptions run_options, xla::LocalExecutable* executable,
        OpKernelContext* ctx, se::DeviceMemoryAllocator* allocator) {
      VLOG(2) << "Executing Xla Computation.";
      Env* env = Env::Default();
      auto start_time = env->NowMicros();
    
      se::Stream* stream = GetStream(ctx);
      run_options.set_stream(GetStream(ctx));
      run_options.set_allocator(allocator);
      run_options.set_intra_op_thread_pool(&ctx->eigen_cpu_device());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                  "path": "/dev/stdout",
                                  "log_format": {
                                    "text_format_source": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure.sh

      if [ "${status}" == "${LOG_STATUS_STARTED}" ]; then
        LOG_START_TIMES["${bootstep}"]="${current_time}"
      else
        local start_time="${LOG_START_TIMES["${bootstep}"]}"
        unset 'LOG_START_TIMES['"${bootstep}"']'
    
        # Bash cannot do non-integer math, shell out to awk.
        latency="$(echo "${current_time} ${start_time}" | awk '{print $1 - $2}')s"
    
        # The default latency is null which cannot be wrapped as a string so we must
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/starttime.go

    package util
    
    import (
    	"time"
    )
    
    // startTime is a variable that represents the start time of the kubeadm process.
    // It can be used to consistently use the same start time instead of calling time.Now()
    // in multiple locations and ending up with minor time deviations.
    var startTime time.Time
    
    func init() {
    	startTime = time.Now()
    }
    
    // StartTimeUTC returns startTime with its location set to UTC.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top