- Sort Score
- Num 10 results
- Language All
Results 481 - 490 of 696 for happen (0.03 seconds)
-
cmd/erasure-healing.go
xlMetaToHealCount++ } } driveState := objectErrToDriveState(reason) result.Before.Drives = append(result.Before.Drives, madmin.HealDriveInfo{ UUID: "", Endpoint: storageEndpoints[i].String(), State: driveState, }) result.After.Drives = append(result.After.Drives, madmin.HealDriveInfo{ UUID: "", Endpoint: storageEndpoints[i].String(), State: driveState,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 34.7K bytes - Click Count (0) -
compat/maven-model/src/main/java/org/apache/maven/model/merge/ModelMerger.java
target.setChildProjectUrlInheritAppendPath(src); target.setLocation( "child.project.url.inherit.append.path", source.getLocation("child.project.url.inherit.append.path")); } } } protected void mergeModel_Version(Model target, Model source, boolean sourceDominant, Map<Object, Object> context) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Apr 03 11:21:39 GMT 2025 - 99.2K bytes - Click Count (0) -
internal/store/batch.go
b.Lock() defer b.Unlock() if b.isFull() { if b.store == nil { return ErrBatchFull } // commit batch to store if err := b.commit(); err != nil { return err } } b.items = append(b.items, item) return nil } // Len returns the no of items in the batch func (b *Batch[_]) Len() int { b.Lock() defer b.Unlock() return len(b.items) } func (b *Batch[_]) isFull() bool {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 2.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/pseudo_test.go
"strings" "testing" "cmd/asm/internal/lex" ) func tokenize(s string) [][]lex.Token { res := [][]lex.Token{} if len(s) == 0 { return res } for _, o := range strings.Split(s, ",") { res = append(res, lex.Tokenize(o)) } return res } func TestErroneous(t *testing.T) { type errtest struct { pseudo string operands string expected string } nonRuntimeTests := []errtest{
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Aug 29 07:48:38 GMT 2023 - 3.1K bytes - Click Count (0) -
misc/ios/detect.go
matches := 0 for _, udid := range udids { for _, xmlLine := range xmlLines { if bytes.Contains(xmlLine, udid) { matches++ } } } if matches == len(udids) { files = append(files, string(line)) } } return files } func parseMobileProvision(fname string) *exec.Cmd { return exec.Command("security", "cms", "-D", "-i", string(fname)) }Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Click Count (0) -
cmd/acl-handlers.go
if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL) return } acl := &accessControlPolicy{} acl.AccessControlList.Grants = append(acl.AccessControlList.Grants, grant{ Grantee: grantee{ XMLNS: "http://www.w3.org/2001/XMLSchema-instance", XMLXSI: "CanonicalUser", Type: "CanonicalUser", }, Permission: "FULL_CONTROL", })Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 8.4K bytes - Click Count (0) -
internal/s3select/csv/recordtransform.go
} return n, nil } // 2 characters... for idx := 0; idx < len(p); { i := bytes.Index(p[idx:], rr.recordDelimiter) if i < 0 { break } idx += i p[idx] = '\n' p = append(p[:idx+1], p[idx+2:]...) n-- } if p[n-1] != rr.recordDelimiter[0] { return n, nil } if _, err = rr.reader.Read(rr.oneByte); err != nil { return n, err }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.1K bytes - Click Count (0) -
internal/bpool/bpool_test.go
t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) } if cap(b) != capWidth { t.Fatalf("bytepool cap invalid: got %v want %v", cap(b), capWidth) } bp.Put(b) // Fill the pool beyond the capped pool size. for i := uint64(0); i < size*2; i++ { bp.Put(make([]byte, bp.w, bp.wcap)) } b = bp.Get() if len(b) != width { t.Fatalf("bytepool length invalid: got %v want %v", len(b), width) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 2.7K bytes - Click Count (0) -
internal/grid/grid.go
// as an error to be reported. func readAllInto(b []byte, r *wsutil.Reader, want int64) ([]byte, error) { read := int64(0) for { if len(b) == cap(b) { // Add more capacity (let append pick how much). b = append(b, 0)[:len(b)] } n, err := r.Read(b[len(b):cap(b)]) b = b[:len(b)+n] if err != nil { if errors.Is(err, io.EOF) { if want >= 0 && read+int64(n) != want {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 7K bytes - Click Count (0) -
tests/callbacks_test.go
) func assertCallbacks(v interface{}, fnames []string) (result bool, msg string) { var ( got []string funcs = reflect.ValueOf(v).Elem().FieldByName("fns") ) for i := 0; i < funcs.Len(); i++ { got = append(got, getFuncName(funcs.Index(i))) } return fmt.Sprint(got) == fmt.Sprint(fnames), fmt.Sprintf("expects %v, got %v", fnames, got) } func getFuncName(fc interface{}) string { reflectValue, ok := fc.(reflect.Value)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Mar 26 03:33:36 GMT 2024 - 7.2K bytes - Click Count (0)