Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for testfunc (0.17 sec)

  1. pkg/kubelet/util/manager/watch_based_manager.go

    		options.FieldSelector = fieldSelector
    		return c.watchObject(namespace, options)
    	}
    	store := c.newStore()
    	reflector := cache.NewReflectorWithOptions(
    		&cache.ListWatch{ListFunc: listFunc, WatchFunc: watchFunc},
    		c.newObject(),
    		store,
    		cache.ReflectorOptions{
    			Name: fmt.Sprintf("object-%q/%q", namespace, name),
    			// Bump default 5m MinWatchTimeout to avoid recreating
    			// watches too often.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc

            mirrored_replicate_args.insert(
                mlir::cast<IntegerAttr>(mirrored_index).getInt());
          }
        }
        auto func =
            llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc()));
        for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
          auto operand = SkipIdentityAndReadVariable(entry.value());
          auto block_arg = mlir::dyn_cast<BlockArgument>(operand);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/flag/flag_test.go

    	Uint64("test_uint64", 0, "uint64 value")
    	String("test_string", "0", "string value")
    	Float64("test_float64", 0, "float64 value")
    	Duration("test_duration", 0, "time.Duration value")
    	Func("test_func", "func value", func(string) error { return nil })
    	BoolFunc("test_boolfunc", "func", func(string) error { return nil })
    
    	m := make(map[string]*Flag)
    	desired := "0"
    	visitor := func(f *Flag) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. pkg/config/schema/codegen/templates/clients.go.tmpl

    {{- end }}
      default:
        panic(fmt.Sprintf("Unknown type %v", g))
    	}
    	return c.Informers().InformerFor(g, opts, func() cache.SharedIndexInformer {
    		inf := cache.NewSharedIndexInformer(
    			&cache.ListWatch{
    				ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return l(options)
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/sym.go

    func (sym *Sym) SetUniq(b bool)         { sym.flags.set(symUniq, b) }
    func (sym *Sym) SetSiggen(b bool)       { sym.flags.set(symSiggen, b) }
    func (sym *Sym) SetAsm(b bool)          { sym.flags.set(symAsm, b) }
    func (sym *Sym) SetFunc(b bool)         { sym.flags.set(symFunc, b) }
    
    func (sym *Sym) IsBlank() bool {
    	return sym != nil && sym.Name == "_"
    }
    
    // Deprecated: This method should not be used directly. Instead, use a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/helper.go

    // should include a non-zero Limit parameter.
    func FollowContinue(initialOpts *metav1.ListOptions,
    	listFunc func(metav1.ListOptions) (runtime.Object, error)) error {
    	opts := initialOpts
    	for {
    		list, err := listFunc(*opts)
    		if err != nil {
    			return err
    		}
    		nextContinueToken, _ := metadataAccessor.Continue(list)
    		if len(nextContinueToken) == 0 {
    			return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 26 03:45:13 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. src/internal/coverage/decodecounter/decodecounterfile.go

    }
    
    const supportDeadFunctionsInCounterData = false
    
    // NextFunc reads data for the next function in this current segment
    // into "p", returning TRUE if the read was successful or FALSE
    // if we've read all the functions already (also an error if
    // something went wrong with the read or we hit a premature
    // EOF).
    func (cdr *CounterDataReader) NextFunc(p *FuncPayload) (bool, error) {
    	if cdr.fcnCount >= uint32(cdr.shdr.FcnEntries) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 15:29:54 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. src/cmd/trace/gstate.go

    // in some way, but it doesn't really matter which stack.
    func (gs *gState[R]) augmentName(stk trace.Stack) {
    	if gs.named {
    		return
    	}
    	if stk == trace.NoStack {
    		return
    	}
    	name := lastFunc(stk)
    	gs.baseName += fmt.Sprintf(" %s", name)
    	gs.named = true
    	gs.isSystemG = trace.IsSystemGoroutine(name)
    }
    
    // setLabel adds an additional label to the goroutine's name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/asm_test.go

    //
    // VR and FPR disjointly overlap VSR, interpreting as VSR registers should produce the correctly overlapped VSR.
    // REG_FPx & 63 == x
    // REG_Vx & 63 == x + 32
    func TestRegValueAlignment(t *testing.T) {
    	tstFunc := func(rstart, rend, msk, rout int) {
    		for i := rstart; i <= rend; i++ {
    			if i&msk != rout {
    				t.Errorf("%v is not aligned to 0x%X (expected %d, got %d)\n", rconv(i), msk, rout, rstart&msk)
    			}
    			rout++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 22:14:57 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/endpoint_test.go

    	devs := []*pluginapi.Device{
    		{ID: "ADeviceId", Health: pluginapi.Healthy},
    	}
    
    	p, e := esetup(t, devs, socket, "mock", func(n string, d []pluginapi.Device) {})
    	defer ecleanup(t, p, e)
    }
    
    func TestRun(t *testing.T) {
    	socket := filepath.Join(os.TempDir(), esocketName())
    
    	devs := []*pluginapi.Device{
    		{ID: "ADeviceId", Health: pluginapi.Healthy},
    		{ID: "AnotherDeviceId", Health: pluginapi.Healthy},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 16:05:48 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top