Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 348 for found$ (0.13 sec)

  1. src/go/parser/parser.go

    	if s == nil {
    		return nil
    	}
    	if es, isExpr := s.(*ast.ExprStmt); isExpr {
    		return es.X
    	}
    	found := "simple statement"
    	if _, isAss := s.(*ast.AssignStmt); isAss {
    		found = "assignment"
    	}
    	p.error(s.Pos(), fmt.Sprintf("expected %s, found %s (missing parentheses around composite literal?)", want, found))
    	return &ast.BadExpr{From: s.Pos(), To: p.safePos(s.End())}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  2. src/internal/trace/order.go

    	// thread it was bound to. Since this status is Running -> Running and Running is binding,
    	// we need to make sure we emit it in the right context: the context to which it is bound.
    	// Find it, and set our current context to it.
    	if status == go122.ProcSyscallAbandoned && oldState == ProcRunning {
    		// N.B. This is slow but it should be fairly rare.
    		found := false
    		for mid, ms := range o.mStates {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    		found := false
    		var u unwinder
    		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
    			if u.frame.sp <= uintptr(p) && uintptr(p) < u.frame.varp {
    				found = true
    				break
    			}
    		}
    		if found {
    			locals, _, _ := u.frame.getStackMap(false)
    			if locals.n == 0 {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. cmd/kube-controller-manager/app/options/options_test.go

    		t.Run(tc.name, func(t *testing.T) {
    			errs := tc.options.Validate()
    			if len(errs) > 0 && !tc.expectErrors {
    				t.Errorf("expected no errors, errors found %+v", errs)
    			}
    
    			if len(errs) == 0 && tc.expectErrors {
    				t.Errorf("expected errors, no errors found")
    			}
    
    			if len(errs) > 0 && tc.expectErrors {
    				gotErr := utilerrors.NewAggregate(errs).Error()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    				pod.Spec.Containers[1].Resources = v1.ResourceRequirements{
    					Limits: v1.ResourceList{v1.ResourceCPU: cpu100m, v1.ResourceMemory: mem100M},
    				}
    				if idx, found := podutil.GetIndexOfContainerStatus(pod.Status.ContainerStatuses, pod.Spec.Containers[1].Name); found {
    					pod.Status.ContainerStatuses[idx].Resources = &v1.ResourceRequirements{
    						Limits: v1.ResourceList{v1.ResourceCPU: cpu200m, v1.ResourceMemory: mem200M},
    					}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  6. src/go/types/api_test.go

    			}
    
    			// look for matching scope description
    			desc := kind + ":" + strings.Join(scope.Names(), " ")
    			found := false
    			for _, d := range test.scopes {
    				if desc == d {
    					found = true
    					break
    				}
    			}
    			if !found {
    				t.Errorf("package %s: no matching scope found for %s", name, desc)
    			}
    		}
    	}
    }
    
    func TestInitOrderInfo(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  7. src/cmd/go/go_test.go

    // is not found. The name argument is the name of the output we are
    // searching, "output" or "error". The msg argument is logged on
    // failure.
    func (tg *testgoData) doGrep(match string, b *bytes.Buffer, name, msg string) {
    	tg.t.Helper()
    	if !tg.doGrepMatch(match, b) {
    		tg.t.Log(msg)
    		tg.t.Logf("pattern %v not found in standard %s", match, name)
    		tg.t.FailNow()
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                            }
    
                            boolean found = false;
                            for (final String id : docIds) {
                                if (docId.equals(id)) {
                                    found = true;
                                    break;
                                }
                            }
                            if (!found) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 02:17:23 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/load.go

    		absDir := dir
    		if !filepath.IsAbs(dir) {
    			absDir = filepath.Join(base.Cwd(), dir)
    		}
    
    		modRoot := findModuleRoot(absDir)
    		found := false
    		for _, mainModuleRoot := range modRoots {
    			if mainModuleRoot == modRoot {
    				found = true
    				break
    			}
    		}
    		if !found && search.InDir(absDir, cfg.GOROOTsrc) == "" && pathInModuleCache(ctx, absDir, rs) == "" {
    			m.Dirs = []string{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			s := pe.SelectCandidate(ctx, candidates)
    			if s == nil || len(s.Name()) == 0 {
    				return
    			}
    			found := false
    			for _, nodeName := range tt.expected {
    				if nodeName == s.Name() {
    					found = true
    					break
    				}
    			}
    			if !found {
    				t.Errorf("expect any node in %v, but got %v", tt.expected, s.Name())
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top