- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for recycler (0.04 sec)
-
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
this.offset = offset; this.remaining = remaining; this.b = b; this.off = off; this.dataLength = len; this.digest = null; /* * otherwise recycled commands * like writeandx will choke if session * closes in between */ } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
cmd/peer-s3-client.go
} buckets := make([]BucketInfo, 0, len(bi.Value())) for _, b := range bi.Value() { if b != nil { buckets = append(buckets, *b) } } bi.Recycle() // BucketInfo has no internal pointers, so it's safe to recycle. return buckets, nil } func (client *remotePeerS3Client) HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error) { conn := client.gridConn()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWrite.java
this.remaining = remaining; this.b = b; this.off = off; this.count = len; this.digest = null; /* * otherwise recycled commands * like writeandx will choke if session * closes in between */ } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
import okhttp3.internal.toImmutableList /** * Selects routes to connect to an origin server. Each connection requires a choice of proxy server, * IP address, and TLS mode. Connections may also be recycled. */ class RouteSelector( private val address: Address, private val routeDatabase: RouteDatabase, private val connectionUser: ConnectionUser, private val fastFallback: Boolean, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
cmd/bitrot-streaming.go
// Hence an immediate Read() on the file can return incorrect data. if b.canClose != nil { b.canClose.Wait() } // Recycle the buffer. if b.byteBuf != nil { globalBytePoolCap.Load().Put(b.byteBuf) b.byteBuf = nil } return err } // newStreamingBitrotWriterBuffer returns streaming bitrot writer implementation.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/storage-datatypes.go
buf := grid.GetByteBufferCap(32 + 16<<10) return &RenameDataInlineHandlerParams{RenameDataHandlerParams{FI: FileInfo{Data: buf[:0]}}} } // Recycle will reuse the memory allocated for the FileInfo data. func (r *RenameDataInlineHandlerParams) Recycle() { if r == nil { return } if cap(r.FI.Data) >= xioutil.SmallBlock { grid.PutByteBuffer(r.FI.Data) r.FI.Data = nil } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
} fun idleConnectionCount(): Int = connections.count { it.withLock { it.calls.isEmpty() } } fun connectionCount(): Int = connections.size /** * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it * was acquired, or null if no connection was acquired. The acquired connection will also be
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 16.1K bytes - Viewed (0) -
cmd/peer-rest-client.go
if err != nil { return } st.Results(func(b []byte) error { select { case traceCh <- b: default: // Do not block on slow receivers. // Just recycle the buffer. grid.PutByteBuffer(b) } return nil }) } func (client *peerRESTClient) doListen(ctx context.Context, listenCh chan<- []byte, v url.Values) { conn := client.gridConn()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/storage-rest-server.go
} // RenameDataInlineHandler - renames a meta object and data dir to destination. func (s *storageRESTServer) RenameDataInlineHandler(p *RenameDataInlineHandlerParams) (*RenameDataResp, *grid.RemoteErr) { defer p.Recycle() return s.RenameDataHandler(&p.RenameDataHandlerParams) } // RenameFileHandler - rename a file from source to destination
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
assertContent("abc", response) assertThat(server.takeRequest().body?.utf8()).isEqualTo("body") } // Check that if we don't read to the end of a response, the next request on the // recycled connection doesn't get the unread tail of the first request's response. // http://code.google.com/p/android/issues/detail?id=2939 @Test fun bug2939() { val response = MockResponse .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)