Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Wong (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

    ) {
      /** The total number of bytes consumed. */
      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
      ) {
        check(total >= 0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    import okhttp3.internal.connection.RealConnection
    import okio.FileSystem
    import okio.Path
    
    internal fun buildCache(
      file: Path,
      maxSize: Long,
      fileSystem: FileSystem,
    ): Cache {
      return Cache(fileSystem, file, maxSize)
    }
    
    internal var RealConnection.idleAtNsAccessor: Long
      get() = idleAtNs
      set(value) {
        idleAtNs = value
      }
    
    internal val Response.exchangeAccessor: Exchange?
      get() = this.exchange
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

            nextOutFrame = outFramesIterator.next()
          }
    
          if (nextOutFrame != null && nextOutFrame.sequence == i) {
            val start = nextOutFrame.start
            var truncated: Boolean
            var end: Long
            if (outFramesIterator.hasNext()) {
              nextOutFrame = outFramesIterator.next()
              end = nextOutFrame.start
              truncated = false
            } else {
              end = outBytes.size.toLong()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    internal class UnreadableResponseBody(
      private val mediaType: MediaType?,
      private val contentLength: Long,
    ) : ResponseBody(), Source {
      override fun contentType() = mediaType
    
      override fun contentLength() = contentLength
    
      override fun source() = buffer()
    
      override fun read(
        sink: Buffer,
        byteCount: Long,
      ): Long {
        throw IllegalStateException(
          """
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

      var uriHost: String = "example.com"
      var uriPort: Int = 1
    
      fun newConnection(
        pool: RealConnectionPool,
        route: Route,
        idleAtNanos: Long = Long.MAX_VALUE,
        taskRunner: TaskRunner = this.taskRunner,
      ): RealConnection {
        val result =
          RealConnection.newTestConnection(
            taskRunner = taskRunner,
            connectionPool = pool,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Platform.java

         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
         * is referenced somewhere for as long as the enum class is loaded. *Maybe in theory* the enum
         * class could be unloaded after the above call to `getEnumConstants` but before we call
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/authz.go

    )
    
    var configDumpFile string
    
    func checkCmd(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "check [<type>/]<name>[.<namespace>]",
    		Short: "Check AuthorizationPolicy applied in the pod.",
    		Long: `Check prints the AuthorizationPolicy applied to a pod by directly checking
    the Envoy configuration of the pod. The command is especially useful for inspecting
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java

            if (testTransferListener != null) {
                testTransferListener.addTransfer(resourceName);
            }
        }
    
        public boolean getIfNewer(String resourceName, File destination, long timestamp)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            if (!insideGet) {
                addTransfer("getIfNewer " + resourceName);
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/options.go

    	// since the IP is normally the same), we SNAT identified host probes in the host netns to a fixed
    	// APIPA/"link-local" IP.
    	//
    	// It doesn't matter what this IP is, so long as it's not routable and doesn't collide with anything else.
    	//
    	// IPv6 link local ranges are designed to be collision-resistant by default, and so probably never need to be overridden
    	DefaultHostProbeSNATIP   = "169.254.7.127"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/pod_cache.go

    }
    
    func closeNetns(netns NetnsCloser) {
    	netns.Close()
    }
    
    func (p *podNetnsCache) ReadCurrentPodSnapshot() map[string]WorkloadInfo {
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	// snapshot the cache to avoid long locking
    	return maps.Clone(p.currentPodCache)
    }
    
    // Remove and return the Netns for the given uid
    // No need to return NetnsCloser here it will be closed automatically on GC.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top