Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for slow (0.45 sec)

  1. cmd/peer-rest-client.go

    	}
    
    	st, err := gridConn.NewStream(ctx, grid.HandlerTrace, payload)
    	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) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/archive/zip/zip_test.go

    func TestZip64(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	const size = 1 << 32 // before the "END\n" part
    	buf := testZip64(t, size)
    	testZip64DirectoryRecordLength(buf, t)
    }
    
    func TestZip64EdgeCase(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	// Test a zip file with uncompressed size 0xFFFFFFFF.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  3. internal/config/api/api.go

    	}
    	cfg.ListQuorum = listQuorum
    
    	replicationPriority := env.Get(EnvAPIReplicationPriority, kvs.GetWithDefault(apiReplicationPriority, DefaultKVS))
    	switch replicationPriority {
    	case "slow", "fast", "auto":
    	default:
    		return cfg, fmt.Errorf("invalid value %v for replication_priority", replicationPriority)
    	}
    	cfg.ReplicationPriority = replicationPriority
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  4. src/bytes/example_test.go

    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    		fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	show("Gopher", "er")
    	show("Gopher", "Badger")
    	// Output:
    	// Cut("Gopher", "Go") = "", "pher", true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. internal/s3select/csv/reader_contrib_test.go

    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  6. cmd/admin-heal-ops.go

    // operation succeeded.
    func (h *healSequence) pushHealResultItem(r madmin.HealResultItem) error {
    	// start a timer to keep an upper time limit to find an empty
    	// slot to add the given heal result - if no slot is found it
    	// means that the server is holding the maximum amount of
    	// heal-results in memory and the client has not consumed it
    	// for too long.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  7. internal/grid/handlers.go

    	// StatelessHandler is handlers for one to many requests,
    	// where responses may be dropped.
    	// Stateless requests provide no incoming stream and there is no flow control
    	// on outgoing messages.
    	StatelessHandler struct {
    		Handle StatelessHandlerFn
    		// OutCapacity is the output capacity on the caller.
    		// If <= 0 capacity will be 1.
    		OutCapacity int
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest_shared_test.go

    // lines in istio.io/istio/.gitattributes.
    const (
    	goldenFileSuffixHideChangesInReview = ".golden.yaml"
    	goldenFileSuffixShowChangesInReview = ".golden-show-in-gh-pull-request.yaml"
    )
    
    var (
    	// By default, tests only run with manifest generate, since it doesn't require any external fake test environment.
    	testedManifestCmds = []cmdType{cmdGenerate}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  9. internal/grid/connection.go

    	}
    	if handler == nil {
    		gridLogIf(ctx, c.queueMsg(m, muxConnectError{Error: "Invalid Handler for type"}))
    		return
    	}
    
    	// TODO: This causes allocations, but escape analysis doesn't really show the cause.
    	// If another faithful engineer wants to take a stab, feel free.
    	go func(m message) {
    		var start time.Time
    		if m.DeadlineMS > 0 {
    			start = time.Now()
    		}
    		var b []byte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    		}
    		logger.Fatal(config.ErrUnableToWriteInBackend(err).Hint(hint), "Unable to initialize backend")
    	case errors.Is(err, errDiskAccessDenied):
    		// Show a descriptive error with a hint about how to fix it.
    		var username string
    		if u, err := user.Current(); err == nil {
    			username = u.Username
    		} else {
    			username = "<your-username>"
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
Back to top