- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 271 for Ball (0.14 sec)
-
internal/http/dial_dnscache.go
// // It dials one by one and returns first connected `net.Conn`. // If it fails to dial all IPs from cache it returns first error. If no baseDialFunc // is given, it sets default dial function. // // You can use returned dial function for `http.Transport.DialContext`. // // In this function, it uses functions from `rand` package. To make it really random, // you MUST call `rand.Seed` and change the value from the default in your application
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 03 19:30:51 GMT 2023 - 2.6K bytes - Viewed (0) -
internal/grid/debug.go
Mux []*mux.Router Hosts []string cleanupOnce sync.Once cancel context.CancelFunc } // SetupTestGrid creates a new grid for testing purposes. // Select the number of hosts to create. // Call (TestGrid).Cleanup() when done. func SetupTestGrid(n int) (*TestGrid, error) { hosts, listeners, err := getHosts(n) if err != nil { return nil, err } dialer := &net.Dialer{ Timeout: 5 * time.Second, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 08 18:15:27 GMT 2024 - 4.2K bytes - Viewed (0) -
src/bufio/example_test.go
fmt.Println(scanner.Text()) // Println will add back the final '\n' } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading standard input:", err) } } // Return the most recent call to Scan as a []byte. func ExampleScanner_Bytes() { scanner := bufio.NewScanner(strings.NewReader("gopher")) for scanner.Scan() { fmt.Println(len(scanner.Bytes()) == 6) } if err := scanner.Err(); err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
cmd/data-usage-utils.go
"github.com/minio/madmin-go/v3" ) // BucketTargetUsageInfo - bucket target usage info provides // - replicated size for all objects sent to this target // - replica size for all objects received from this target // - replication pending size for all objects pending replication to this target // - replication failed size for all objects failed replication to this target // - replica pending count // - replica failed count
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 6.4K bytes - Viewed (0) -
operator/cmd/mesh/manifest-diff.go
// The format of each list item is :: and the items are comma separated. The * character represents wildcard selection. // e.g. // Deployment:istio-system:* - compare all deployments in istio-system namespace // Service:*:istio-pilot - compare Services called "istio-pilot" in all namespaces. selectResources string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
internal/s3select/csv/reader.go
cr := newReader(bytes.NewBuffer(in.input)) all := dst[:0] err := func() error { // Read all records until EOF or another error. for { record, err := cr.Read() if err == io.EOF { return nil } if err != nil { return errCSVParsingError(err) } var recDst []string if len(dst) > len(all) { recDst = dst[len(all)] }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 8.9K bytes - Viewed (0) -
cmd/erasure-utils.go
func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int { size := 0 // Figure out the data block length. for _, block := range enBlocks[:dataBlocks] { size += len(block) } return size } // Writes all the data blocks from encoded blocks until requested // outSize length. Provides a way to skip bytes until the offset.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 02:11:45 GMT 2024 - 3.1K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
if hdr < b { // all of header can be accommodated r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 06 03:21:59 GMT 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
centralOpts.AttachControlPlaneFlags(debugCommand) debugCommand.Long += "\n\n" + util.ExperimentalMsg debugCommand.PersistentFlags().BoolVar(&internalDebugAllIstiod, "all", false, "Send the same request to all instances of Istiod. Only applicable for in-cluster deployment.") return debugCommand } var internalDebugAllIstiod bool type DebugWriter struct { Writer io.Writer
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
internal/config/constants.go
// Current files EnvRootUserFile = "MINIO_ROOT_USER_FILE" EnvRootPasswordFile = "MINIO_ROOT_PASSWORD_FILE" // Set all config environment variables from 'config.env' // if necessary. Overrides all previous settings and also // overrides all environment values passed from // 'podman run -e ENV=value' EnvConfigEnvFile = "MINIO_CONFIG_ENV_FILE" EnvBrowser = "MINIO_BROWSER"
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 3.4K bytes - Viewed (3)