Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 566 for Closest (0.26 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/filters/wrap.go

    			// If ServeHTTP panics, the server (the caller of ServeHTTP) assumes
    			// that the effect of the panic was isolated to the active request.
    			// It recovers the panic, logs a stack trace to the server error log,
    			// and either closes the network connection or sends an HTTP/2
    			// RST_STREAM, depending on the HTTP protocol. To abort a handler so
    			// the client sees an interrupted response but the server doesn't log
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. pkg/controller/nodelifecycle/scheduler/rate_limited_queue.go

    	UID       interface{}
    	AddedAt   time.Time
    	ProcessAt time.Time
    }
    
    // now is used to test time
    var now = time.Now
    
    // TimedQueue is a priority heap where the lowest ProcessAt is at the front of the queue
    type TimedQueue []*TimedValue
    
    // Len is the length of the queue.
    func (h TimedQueue) Len() int { return len(h) }
    
    // Less returns true if queue[i] < queue[j].
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            gradle.settings == settings
        }
    
        def "closes settings when replaced"() {
            def state1 = Mock(SettingsState)
            def state2 = Stub(SettingsState)
    
            given:
            gradle.attachSettings(state1)
    
            when:
            gradle.attachSettings(state2)
    
            then:
            1 * state1.close()
        }
    
        def "closes settings when discarded"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> {
      return Collections.unmodifiableList(listOf(*elements.clone()))
    }
    
    /** Closes this, ignoring any checked exceptions. */
    internal fun Socket.closeQuietly() {
      try {
        close()
      } catch (e: AssertionError) {
        throw e
      } catch (rethrown: RuntimeException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. platforms/software/resources-s3/src/main/java/org/gradle/internal/resource/transport/aws/s3/S3ResourceConnector.java

                LOGGER.debug("Exception while consuming empty object content from metadata request", e);
            } finally {
                // This also closes objectContent, no need to close it explicitly.
                IoActions.closeQuietly(s3Object);
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/log/slog/value_access_benchmark_test.go

    // license that can be found in the LICENSE file.
    
    // Benchmark for accessing Value values.
    
    package slog
    
    import (
    	"testing"
    	"time"
    )
    
    // The "As" form is the slowest.
    // The switch-panic and visitor times are almost the same.
    // BenchmarkDispatch/switch-checked-8         	 8669427	       137.7 ns/op
    // BenchmarkDispatch/As-8                     	 8212087	       145.3 ns/op
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 21 20:55:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/GradleUserHomeScopeFileTimeStampInspector.java

         * since we check all Java APIs that can return a high or a low precision, and we choose the one with the lowest precision.
         *
         * In case `isCurrentTimestampHighPrecision` is in the `second` precision, then we check also the provided timestamp.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/MultiInputStream.java

        advance();
      }
    
      @Override
      public void close() throws IOException {
        if (in != null) {
          try {
            in.close();
          } finally {
            in = null;
          }
        }
      }
    
      /** Closes the current input stream and opens the next one, if any. */
      private void advance() throws IOException {
        close();
        if (it.hasNext()) {
          in = it.next().openStream();
        }
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. internal/grid/stream.go

    // If the call is canceled through the context,
    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    	// Canceling the context will cause the context cancellation error to be returned.
    	responses <-chan Response
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            this.count = len;
            this.digest = null; /*
                                 * otherwise recycled commands
                                 * like writeandx will choke if session
                                 * closes in between
                                 */
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.7K bytes
    - Viewed (0)
Back to top