Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Fn (0.03 sec)

  1. src/runtime/asm_amd64.s

    	MOVQ	$0, gobuf_ctxt(BX)
    	MOVQ	$0, gobuf_bp(BX)
    	MOVQ	gobuf_pc(BX), BX
    	JMP	BX
    
    // func mcall(fn func(*g))
    // Switch to m->g0's stack, call fn(g).
    // Fn must never return. It should gogo(&g->sched)
    // to keep running g.
    TEXT runtime·mcall<ABIInternal>(SB), NOSPLIT, $0-8
    	MOVQ	AX, DX	// DX = fn
    
    	// Save state in g->sched. The caller's SP and PC are restored by gogo to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/out.go

    			fmt.Fprintf(gotype, "\t\t%s ", name)
    			noSourceConf.Fprint(gotype, fset, typ)
    			fmt.Fprintf(gotype, "\n")
    			off += t.Size
    		}
    		if fn.Recv != nil {
    			argField(fn.Recv.List[0].Type, "recv")
    		}
    		fntype := fn.Type
    		forFieldList(fntype.Params,
    			func(i int, aname string, atype ast.Expr) {
    				argField(atype, "p%d", i)
    			})
    		forFieldList(fntype.Results,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  3. src/runtime/traceback.go

    //   - For the innermost frame on LR machines, lr is the program counter that called fn.
    //
    // On return, u.frame contains:
    //   - fp is the stack pointer of the caller.
    //   - lr is the program counter that called fn.
    //   - varp, argp, and continpc are populated for the current frame.
    //
    // If fn is a stack-jumping function, resolveInternal can change the entire
    // frame state to follow that stack jump.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    		2: {false: pZero(), true: pZero()},
    	}
    	queueNoteFn := func(fn int) func(inQueue bool) {
    		return func(inQueue bool) { atomic.AddInt32(queueNoteCounts[fn][inQueue], 1) }
    	}
    	fatalErrs := []string{}
    	var errsLock sync.Mutex
    	expectQNCount := func(fn int, inQueue bool, expect int32) {
    		if a := atomic.LoadInt32(queueNoteCounts[fn][inQueue]); a != expect {
    			errsLock.Lock()
    			defer errsLock.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    			objectMeta.SetName(e.CreateStrategy.GenerateName(objectMeta.GetGenerateName()))
    		}
    	}
    
    	if e.BeginCreate != nil {
    		fn, err := e.BeginCreate(ctx, obj, options)
    		if err != nil {
    			return nil, err
    		}
    		finishCreate = fn
    		defer func() {
    			finishCreate(ctx, false)
    		}()
    	}
    
    	if err := rest.BeforeCreate(e.CreateStrategy, ctx, obj); err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  6. src/runtime/mgcmark.go

    		print("scanframe ", funcname(frame.fn), "\n")
    	}
    
    	isAsyncPreempt := frame.fn.valid() && frame.fn.funcID == abi.FuncID_asyncPreempt
    	isDebugCall := frame.fn.valid() && frame.fn.funcID == abi.FuncID_debugCallV2
    	if state.conservative || isAsyncPreempt || isDebugCall {
    		if debugScanConservative {
    			println("conservatively scanning function", funcname(frame.fn), "at PC", hex(frame.continpc))
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  7. pkg/kubelet/pod_workers_test.go

    				fns = append(fns, func() {
    					expectPodSyncStatus(t, tc.expectBeforeWorker, podWorkers.w.podSyncStatuses[uid])
    				})
    			}
    
    			if tc.prepare != nil {
    				if fn := tc.prepare(t, podWorkers); fn != nil {
    					fns = append(fns, fn)
    				}
    			}
    
    			// set up an initial pod status for the UpdatePod invocation which is
    			// reset before workers call the podCache
    			if tc.runtimeStatus != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  8. pkg/controller/replicaset/replica_set_test.go

    			count:             10,
    			callLimit:         0,
    			fn:                fn,
    			expectedSuccesses: 0,
    			expectedErr:       fakeErr,
    			expectedCallCnt:   1, // 1(first batch): function will be called at least once
    		},
    		{
    			name:              "callLimit = count (all succeed)",
    			count:             10,
    			callLimit:         10,
    			fn:                fn,
    			expectedSuccesses: 10,
    			expectedErr:       nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  9. src/os/os_test.go

    		}
    	}
    
    	for _, fn := range []func(int, int, error){readdirExpect, readdirnamesExpect, readDirExpect} {
    		// Test the slurp case
    		openDir()
    		fn(0, 105, nil)
    		fn(0, 0, nil)
    		d.Close()
    
    		// Slurp with -1 instead
    		openDir()
    		fn(-1, 105, nil)
    		fn(-2, 0, nil)
    		fn(0, 0, nil)
    		d.Close()
    
    		// Test the bounded case
    		openDir()
    		fn(1, 1, nil)
    		fn(2, 2, nil)
    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. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GradleResolveVisitor.java

                        return exp;
                    }
    
                    FieldNode fn = type.getField(pe.getPropertyAsString());
                    if (fn != null && !fn.isEnum() && fn.isStatic() && fn.isFinal()) {
                        if (fn.getInitialValueExpression() instanceof ConstantExpression) {
                            return fn.getInitialValueExpression();
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 67.6K bytes
    - Viewed (0)
Back to top