Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,686 for once (0.7 sec)

  1. cmd/metrics-v2_test.go

    			label: labels[3],
    		},
    		{
    			val:   0.79,
    			label: labels[2],
    		},
    	}
    	ticker := time.NewTicker(1 * time.Millisecond)
    	defer ticker.Stop()
    	for _, obs := range observations {
    		// Send observations once every 1ms, to simulate delay between
    		// observations. This is to test the channel based
    		// synchronization used internally.
    		<-ticker.C
    		ttfbHist.With(prometheus.Labels{"api": obs.label}).Observe(obs.val)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. internal/logger/logrotate.go

    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    	// Writes to f are only synchronized once Close() is called,
    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    // Write writes p into the current file, rotating if necessary.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

            "network interceptor ${interceptors[index - 1]} must retain the same host and port"
          }
          check(calls == 1) {
            "network interceptor ${interceptors[index - 1]} must call proceed() exactly once"
          }
        }
    
        // Call the next interceptor in the chain.
        val next = copy(index = index + 1, request = request)
        val interceptor = interceptors[index]
    
        @Suppress("USELESS_ELVIS")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java

    import java.lang.annotation.Retention;
    
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Denotes that a bean should be created as a singleton instance.
     * <p>
     * Singleton-scoped beans are instantiated once and reused throughout the entire
     * Maven execution. This scope should be used for stateless services or components
     * that can be safely shared across the entire build process.
     * <p>
     * Example usage:
     * <pre>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. ci/official/requirements_updater/BUILD.bazel

    load("@python_version_repo//:py_version.bzl", "REQUIREMENTS")
    load("@rules_python//python:pip.bzl", "compile_pip_requirements")
    
    # TODO(ybaturina): Remove once TF is migrated to CUDA 12.9.
    genrule(
        name = "nvidia_constraints",
        srcs = ["nvidia-requirements.txt"],
        outs = ["nvidia-constraints.txt"],
        cmd = """sed -E "s/>=/==/" $(location nvidia-requirements.txt) > $@;""",
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Sep 18 19:30:45 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      Just then her head struck against the roof of the hall:  in
    fact she was now more than nine feet high, and she at once took
    up the little golden key and hurried off to the garden door.
    
      Poor Alice!  It was as much as she could do, lying down on one
    side, to look through into the garden with one eye; but to get
    through was more hopeless than ever:  she sat down and began to
    cry again.
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	ctx = context.WithValue(ctx, healthDiskCtxKey{}, &healthDiskCtxValue{lastSuccess: &p.health.lastSuccess})
    	si := p.updateStorageMetrics(s, paths...)
    	var once sync.Once
    	return ctx, func(sz int64, errp *error) {
    		p.health.waiting.Add(-1)
    		once.Do(func() {
    			if errp != nil {
    				err := *errp
    				if err == nil || errors.Is(err, io.EOF) {
    					p.health.logSuccess()
    				}
    			}
    			si(sz, errp)
    		})
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractService.java

        }
      }
    
      /**
       * Implementing classes should invoke this method once their service has stopped. It will cause
       * the service to transition from {@link State#STARTING} or {@link State#STOPPING} to {@link
       * State#TERMINATED}.
       *
       * @throws IllegalStateException if the service is not one of {@link State#STOPPING}, {@link
       *     State#STARTING}, or {@link State#RUNNING}.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/extending-openapi.md

    You can use the property `.openapi_schema` as a "cache", to store your generated schema.
    
    That way, your application won't have to generate the schema every time a user opens your API docs.
    
    It will be generated only once, and then the same cached schema will be used for the next requests.
    
    {* ../../docs_src/extending_openapi/tutorial001_py39.py hl[13:14,25:26] *}
    
    ### Override the method { #override-the-method }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
        fun newEventSource(
          request: Request,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top