Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,609 for write2 (0.05 sec)

  1. cmd/erasure-metadata-utils.go

    		}
    	}
    	return max, maxErr
    }
    
    // reduceQuorumErrs behaves like reduceErrs by only for returning
    // values of maximally occurring errors validated against a generic
    // quorum number that can be read or write quorum depending on usage.
    func reduceQuorumErrs(ctx context.Context, errs []error, ignoredErrs []error, quorum int, quorumErr error) error {
    	if contextCanceled(ctx) {
    		return context.Canceled
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

        return object : RequestBody() {
          override fun contentType(): MediaType? {
            return "text/plain".toMediaTypeOrNull()
          }
    
          @Throws(IOException::class)
          override fun writeTo(sink: BufferedSink) {
            try {
              sink.writeUtf8("abc")
              sink.flush()
              Thread.sleep(sleepMillis.toLong())
              sink.writeUtf8("def")
            } catch (e: InterruptedException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. api/go1.20.txt

    pkg log/syslog (freebsd-riscv64), method (*Writer) Debug(string) error #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Emerg(string) error #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Err(string) error #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Info(string) error #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Notice(string) error #53466
    pkg log/syslog (freebsd-riscv64), method (*Writer) Warning(string) error #53466
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

      private val messageFrameBuffer = Buffer()
    
      /** Lazily initialized on first use. */
      private var messageInflater: MessageInflater? = null
    
      // Masks are only a concern for server writers.
      private val maskKey: ByteArray? = if (isClient) null else ByteArray(4)
      private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor()
    
      interface FrameCallback {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    
    import java.io.IOException;
    import java.io.InputStream;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.nego;
    
    
    import java.util.Date;
    
    import org.slf4j.Logger;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/AllTests.java

     * Lesser General Public License for more details.
     * 
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.tests;
    
    
    import java.io.IOException;
    import java.io.InputStream;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 14.4K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    		return ErrSignatureDoesNotMatch
    	}
    	return ErrNone
    }
    
    func calculateSignatureV2(stringToSign string, secret string) string {
    	hm := hmac.New(sha1.New, []byte(secret))
    	hm.Write([]byte(stringToSign))
    	return base64.StdEncoding.EncodeToString(hm.Sum(nil))
    }
    
    // Return signature-v2 for the presigned request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        taskFaker.runTasks()
      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
        maxConcurrentStreams: Int,
      ): Http2Connection {
        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    				objCountPerThread[i]++
    				mu.Lock()
    				uploadTimes = append(uploadTimes, response)
    				mu.Unlock()
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	// We already saw write failures, no need to proceed into read's
    	if retError != "" {
    		return SpeedTestResult{
    			Uploads:     totalBytesWritten,
    			Downloads:   totalBytesRead,
    			UploadTimes: uploadTimes,
    			Error:       retError,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top