Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for react (0.24 sec)

  1. cmd/erasure-multipart.go

    	return evalDisks(disks, errs), reduceWriteQuorumErrs(ctx, errs, objectOpIgnoredErrs, writeQuorum)
    }
    
    // writeAllDisks - writes 'b' to all provided disks.
    // If write cannot reach quorum, the files will be deleted from all disks.
    func writeAllDisks(ctx context.Context, disks []StorageAPI, dstBucket, dstEntry string, b []byte, writeQuorum int) ([]StorageAPI, error) {
    	g := errgroup.WithNErrs(len(disks))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  2. misc/go_android_exec/main.go

    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    	for {
    		for _, name := range []string{"testdata", "go.mod", "go.sum"} {
    			hostPath := filepath.Join(dir, name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  3. internal/config/config.go

    	}
    	if !isFound {
    		return
    	}
    
    	if target == "" {
    		target = Default
    	}
    
    	if redactSecrets {
    		// If the configuration parameter is a secret, make sure to redact it when
    		// we return.
    		helpKV, _ := HelpSubSysMap[subSys].Lookup(cfgParam)
    		if helpKV.Secret {
    			defer func() {
    				value = ""
    				isRedacted = true
    			}()
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    	if err != nil {
    		return result, err
    	}
    
    	// List of disks having all parts as per latest metadata.
    	// NOTE: do not pass in latestDisks to diskWithAllParts since
    	// the diskWithAllParts needs to reach the drive to ensure
    	// validity of the metadata content, we should make sure that
    	// we pass in disks as is for it to be verified. Once verified
    	// the disksWithAllParts() returns the actual disks that can be
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    			r:            metadataResolutionParams{dirQuorum: 2, objQuorum: 2, strict: false},
    			wantSelected: &inputSerialized[6],
    			wantOk:       true,
    		},
    		{
    			// When ID is zero, do not allow non-strict matches to reach quorum.
    			name:         "zeroid-belowq",
    			m:            metaCacheEntries{inputSerialized[5], inputSerialized[5], inputSerialized[6], inputSerialized[6]},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    struct with a field named "type", x._type accesses the field.
    C struct fields that cannot be expressed in Go, such as bit fields
    or misaligned data, are omitted in the Go struct, replaced by
    appropriate padding to reach the next field or the end of the struct.
    
    The standard C numeric types are available under the names
    C.char, C.schar (signed char), C.uchar (unsigned char),
    C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. cmd/globals.go

    	globalDirSuffixWithSlash       = globalDirSuffix + slashSeparator
    
    	// Add new global values here.
    )
    
    const (
    	// Limit fields size (except file) to 1Mib since Policy document
    	// can reach that size according to https://aws.amazon.com/articles/1434
    	maxFormFieldSize = int64(1 * humanize.MiByte)
    
    	// The maximum allowed time difference between the incoming request
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. src/builtin/builtin.go

    //
    //	Array: the number of elements in v (same as len(v)).
    //	Pointer to array: the number of elements in *v (same as len(v)).
    //	Slice: the maximum length the slice can reach when resliced;
    //	if v is nil, cap(v) is zero.
    //	Channel: the channel buffer capacity, in units of elements;
    //	if v is nil, cap(v) is zero.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. src/archive/zip/zip_test.go

    			rp = &r.buf[len(r.buf)-1]
    		} else {
    			rp.n++
    		}
    	}
    	return len(p), nil
    }
    
    func memset(a []byte, b byte) {
    	if len(a) == 0 {
    		return
    	}
    	// Double, until we reach power of 2 >= len(a), same as bytes.Repeat,
    	// but without allocation.
    	a[0] = b
    	for i, l := 1, len(a); i < l; i *= 2 {
    		copy(a[i:], a[:i])
    	}
    }
    
    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)
  10. istioctl/pkg/workload/workload.go

    		hosts = fmt.Sprintf("%s %s\n", ingressIP, IstiodHost(istioNamespace, revision))
    	} else {
    		log.Warnf("Could not auto-detect IP for %s/%s. Use --ingressIP to manually specify the Gateway address to reach istiod from the VM.",
    			IstiodHost(istioNamespace, revision), istioNamespace)
    	}
    	return os.WriteFile(filepath.Join(dir, "hosts"), []byte(hosts), filePerms)
    }
    
    func isRevisioned(revision string) bool {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top