Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for derrs (0.07 sec)

  1. src/cmd/go/internal/modload/init.go

    			if gover.Compare(mv, wv) > 0 && gover.Compare(mv, gover.GoStrictVersion) >= 0 {
    				errs = append(errs, errWorkTooOld(gomod, workFile, mv))
    				continue
    			}
    		}
    
    		if !inWorkspaceMode() {
    			ok := true
    			for _, g := range f.Godebug {
    				if err := CheckGodebug("godebug", g.Key, g.Value); err != nil {
    					errs = append(errs, fmt.Errorf("error loading go.mod:\n%s:%d: %v", base.ShortPath(gomod), g.Syntax.Start.Line, err))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/load.go

    					// necessarily prevent us from loading the packages we could find.
    					m.Errs = append(m.Errs, err)
    				}
    				matchPackages(ctx, m, opts.Tags, includeStd, mg.BuildList())
    
    			case m.Pattern() == "all":
    				if ld == nil {
    					// The initial roots are the packages in the main module.
    					// loadFromRoots will expand that to "all".
    					m.Errs = m.Errs[:0]
    					matchModules := MainModules.Versions()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	globalLocalDrivesMu.RUnlock()
    
    	errs := make([]error, len(localDrives))
    	infos := make([]DiskInfo, len(localDrives))
    	for i, drive := range localDrives {
    		infos[i], errs[i] = drive.DiskInfo(GlobalContext, DiskInfoOptions{})
    	}
    	infoMaps := make(map[string]madmin.DiskMetrics)
    	for i := range infos {
    		if infos[i].Metrics.TotalWaiting >= 1 && errors.Is(errs[i], errFaultyDisk) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    	errs := make([]error, len(versions))
    
    	for i, fiv := range versions {
    		if contextCanceled(ctx) {
    			errs[i] = ctx.Err()
    			continue
    		}
    		w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    		if err := w.Run(func() error { return s.deleteVersions(ctx, volume, fiv.Name, fiv.Versions...) }); err != nil {
    			errs[i] = err
    		}
    		diskHealthCheckOK(ctx, errs[i])
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modget/get.go

    	return r.matchInModuleCache.Do(matchInModuleKey{pattern, m}, func() ([]string, error) {
    		match := modload.MatchInModule(ctx, pattern, m, imports.AnyTags())
    		if len(match.Errs) > 0 {
    			return match.Pkgs, match.Errs[0]
    		}
    		return match.Pkgs, nil
    	})
    }
    
    // queryNone adds a candidate set to q for each module matching q.pattern.
    // Each candidate set has only one possible module version: the matched
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/framework.go

    func (f *frameworkImpl) Close() error {
    	var errs []error
    	for name, plugin := range f.pluginsMap {
    		if closer, ok := plugin.(io.Closer); ok {
    			err := closer.Close()
    			if err != nil {
    				errs = append(errs, fmt.Errorf("%s failed to close: %w", name, err))
    				// We try to close all plugins even if we got errors from some.
    			}
    		}
    	}
    	return errors.Join(errs...)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    				t.Fatalf("UserValidationRules validation mismatch: CELMapper.UserValidationRules is nil")
    			}
    		})
    	}
    }
    
    func errString(errs errors.Aggregate) string {
    	if errs != nil {
    		return errs.Error()
    	}
    	return ""
    }
    
    type (
    	test struct {
    		name            string
    		configuration   api.AuthorizationConfiguration
    		expectedErrList field.ErrorList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    }
    
    // isSchedulableAfterClaimParametersChange is invoked for add and update claim parameters events reported by
    // an informer. It checks whether that change made a previously unschedulable
    // pod schedulable. It errs on the side of letting a pod scheduling attempt
    // happen. The delete claim event will not invoke it, so newObj will never be nil.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  9. src/os/os_test.go

    		c <- r.Close()
    		c <- w.Close()
    	}
    	wg.Add(2)
    	go f()
    	go f()
    	nils, errs := 0, 0
    	for i := 0; i < 4; i++ {
    		err := <-c
    		if err == nil {
    			nils++
    		} else {
    			errs++
    		}
    	}
    	if nils != 2 || errs != 2 {
    		t.Errorf("got nils %d errs %d, want 2 2", nils, errs)
    	}
    }
    
    func TestRandomLen(t *testing.T) {
    	for range 5 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    		}
    		src += "package p; func f()"
    
    		var errs []error
    		conf := Config{
    			GoVersion: test.goVersion,
    			Error:     func(err error) { errs = append(errs, err) },
    		}
    		info := &Info{Defs: make(map[*syntax.Name]Object)}
    		typecheck(src, &conf, info)
    		got := fmt.Sprint(errs)
    		if !strings.Contains(got, test.wantErr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top