Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 566 for Closest (0.12 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
        get() = javaClass.simpleName
    
      data class ConnectStart(
        override val timestampNs: Long,
        val route: Route,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributePrecedenceSchemaAttributeMatcherTest.groovy

        def explanationBuilder = Stub(AttributeMatchingExplanationBuilder)
    
        def highest = Attribute.of("highest", String)
        def middle = Attribute.of("middle", String)
        def lowest = Attribute.of("lowest", String)
        // This has no precedence
        def additional = Attribute.of("usage", String)
    
        static class CompatibilityRule implements AttributeCompatibilityRule<String> {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    	ctx, err := createWebSocketStreams(req, w, opts)
    	if err != nil {
    		return nil, err
    	}
    
    	if ctx.resizeStream != nil {
    		ctx.resizeChan = make(chan remotecommand.TerminalSize)
    		go func() {
    			// Resize channel closes in panic case, and panic does not take down caller.
    			defer func() {
    				if p := recover(); p != nil {
    					// Standard panic logging.
    					for _, fn := range runtime.PanicHandlers {
    						fn(req.Context(), p)
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/database/sql/sql_test.go

    	waitCondition(t, func() bool {
    		driver.mu.Lock()
    		opens = driver.openCount - opens0
    		closes = driver.closeCount - closes0
    		driver.mu.Unlock()
    
    		return closes == 1
    	})
    
    	if opens != 3 {
    		t.Errorf("opens = %d; want 3", opens)
    	}
    	if closes != 1 {
    		t.Errorf("closes = %d; want 1", closes)
    	}
    
    	if s := db.Stats(); s.MaxLifetimeClosed != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  5. src/main/webapp/js/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/test/groovy/org/gradle/caching/internal/controller/service/LoadTargetTest.groovy

            @Override
            void close() throws IOException {
                closed = true
            }
        }
    
        def "closes input"() {
            given:
            def input = new TestInputStream()
    
            when:
            target.readFrom(input)
    
            then:
            input.closed
        }
    
        def "closes input on subsequent use"() {
            given:
            def input = new TestInputStream()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. src/os/file_mutex_plan9.go

    func (file *file) readLock() error {
    	if !file.fdmu.ReadLock() {
    		return ErrClosed
    	}
    	return nil
    }
    
    // readUnlock removes a reference from the file and unlocks it for reading.
    // It also closes the file if it marked as closed and there is no remaining
    // reference.
    func (file *file) readUnlock() {
    	if file.fdmu.ReadUnlock() {
    		file.destroy()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 08 03:57:40 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/IoActions.java

            return new TextFileWriterIoAction(output, encoding);
        }
    
        /**
         * Performs the given action against the given resource, then closes the resource. Ignores failure to close the resource when
         * the action throws an exception.
         */
        public static <T extends Closeable> void withResource(T resource, Action<? super T> action) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/lca.go

    package ssa
    
    import (
    	"math/bits"
    )
    
    // Code to compute lowest common ancestors in the dominator tree.
    // https://en.wikipedia.org/wiki/Lowest_common_ancestor
    // https://en.wikipedia.org/wiki/Range_minimum_query#Solution_using_constant_time_and_linearithmic_space
    
    // lcaRange is a data structure that can compute lowest common ancestor queries
    // in O(n lg n) precomputed space and O(1) time per query.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 21:52:15 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.cc

      // global_max will be updated by std::max(global_max, input_value) so it
      // is initialized with the value numeric_limits<float>::lowest().
      min_max_statistics_.set_global_max(std::numeric_limits<float>::lowest());
    }
    
    void CalibrationStatisticsCollectorMinMax::Collect(
        const float min, const float max, absl::Span<const int64_t> histogram) {
      min_max_statistics_.set_global_min(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 03:57:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top