Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for discord (0.27 sec)

  1. cmd/xl-storage.go

    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return err
    	}
    
    	discard := true
    
    	var legacyJSON bool
    	buf, _, err := s.readAllData(ctx, volume, volumeDir, pathJoin(volumeDir, path, xlStorageFormatFile), discard)
    	if err != nil {
    		if !errors.Is(err, errFileNotFound) {
    			return err
    		}
    
    		s.RLock()
    		legacy := s.formatLegacy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        waitForDataFrames(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE)
    
        // Cancel the call and discard what we've buffered for the response body. This should free up
        // the connection flow-control window so new requests can proceed.
        call1.cancel()
        assertThat(
          response1.body.source().discard(1, TimeUnit.SECONDS),
          "Call should not have completed successfully.",
        ).isFalse()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, f := range z.File {
    		r, err := f.Open()
    		if err != nil {
    			continue
    		}
    		if f.UncompressedSize64 < 1e6 {
    			n, err := io.Copy(io.Discard, r)
    			if i == 3 && err != io.ErrUnexpectedEOF {
    				t.Errorf("File[3] error = %v; want io.ErrUnexpectedEOF", err)
    			}
    			if err == nil && uint64(n) != f.UncompressedSize64 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	for m := range re {
    		if err := enc.Encode(m); err != nil {
    			s.writeErrorResponse(w, errors.New("Encoding mrf failed: "+err.Error()))
    			return
    		}
    	}
    }
    
    // DevNull - everything goes to io.Discard
    func (s *peerRESTServer) DevNull(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    	globalNetPerfRX.Connect()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    		config.EnvRootPassword,
    	} {
    		os.Unsetenv(env)
    	}
    
    	// Set as non-distributed.
    	globalIsDistErasure = false
    
    	// Disable printing console messages during tests.
    	color.Output = io.Discard
    	// Disable Error logging in testing.
    	logger.DisableErrorLog = true
    
    	// Uncomment the following line to see trace logs during unit tests.
    	// logger.AddTarget(console.New())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    }
    
    // addToFlag appends args to flag.
    func (p *Package) addToFlag(flag string, args []string) {
    	if flag == "CFLAGS" {
    		// We'll also need these when preprocessing for dwarf information.
    		// However, discard any -g options: we need to be able
    		// to parse the debug info, so stick to what we expect.
    		for _, arg := range args {
    			if !strings.HasPrefix(arg, "-g") {
    				p.GccOptions = append(p.GccOptions, arg)
    			}
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    				foundPrefixes = append(foundPrefixes, result.Prefixes...)
    				if !result.IsTruncated {
    					break
    				}
    				marker = result.NextMarker
    				if len(result.Objects) > 0 {
    					// Discard marker, so it cannot resume listing.
    					marker = result.Objects[len(result.Objects)-1].Name
    				}
    			}
    
    			if len(testCase.result.Objects) != len(foundObjects) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_CloseSession(TF_Session*, TF_Status* status);
    
    // Destroy a session object.
    //
    // Even if error information is recorded in *status, this call discards all
    // local resources associated with the session.  The session may not be used
    // during or after this call (and the session drops its reference to the
    // corresponding graph).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top