Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,136 for f$ (0.02 sec)

  1. pkg/kubelet/container/testing/fake_runtime.go

    }
    
    func (f *FakeRuntime) AssertKilledContainers(containers []string) bool {
    	f.Lock()
    	defer f.Unlock()
    	return f.assertList(containers, f.KilledContainers)
    }
    
    func (f *FakeRuntime) Type() string {
    	return f.RuntimeType
    }
    
    func (f *FakeRuntime) Version(_ context.Context) (kubecontainer.Version, error) {
    	f.Lock()
    	defer f.Unlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    	Value   interface{}
    }
    
    func (f *fakeResourceManager) Expect() ResourceManager {
    	return &f.expect
    }
    
    func (f *fakeResourceManager) HasExpectedNumberActions() bool {
    	f.lock.RLock()
    	defer f.lock.RUnlock()
    
    	f.expect.lock.RLock()
    	defer f.expect.lock.RUnlock()
    
    	return len(f.Actions) >= len(f.expect.Actions)
    }
    
    func (f *fakeResourceManager) Validate() error {
    	f.lock.RLock()
    	defer f.lock.RUnlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue62157.go

    	b = f(a, b)
    	b = f(b, a)
    
    	// Defined directed channels win over defined bidirectional channels.
    	A = f(A, a)
    	A = f(a, A)
    	B = f(B, b)
    	B = f(b, B)
    
    	f(a, b, B)
    	f(a, B, b)
    	f(b, B, a)
    	f(b, a, B)
    	f(B, a, b)
    	f(B, b, a)
    
    	// Differently named channel types conflict irrespective of channel direction.
    	f(A, B /* ERROR "type namedB of B does not match inferred type namedA for T" */)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 23:22:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/runtime/mfixalloc.go

    		if f.zero {
    			memclrNoHeapPointers(v, f.size)
    		}
    		return v
    	}
    	if uintptr(f.nchunk) < f.size {
    		f.chunk = uintptr(persistentalloc(uintptr(f.nalloc), 0, f.stat))
    		f.nchunk = f.nalloc
    	}
    
    	v := unsafe.Pointer(f.chunk)
    	if f.first != nil {
    		f.first(f.arg, v)
    	}
    	f.chunk = f.chunk + f.size
    	f.nchunk -= uint32(f.size)
    	f.inuse += f.size
    	return v
    }
    
    func (f *fixalloc) free(p unsafe.Pointer) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 24 20:28:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	defer f.Unlock()
    	f.Stopped = false
    	f.result = make(chan Event, DefaultChanSize)
    }
    
    func (f *RaceFreeFakeWatcher) ResultChan() <-chan Event {
    	f.Lock()
    	defer f.Unlock()
    	return f.result
    }
    
    // Add sends an add event.
    func (f *RaceFreeFakeWatcher) Add(obj runtime.Object) {
    	f.Lock()
    	defer f.Unlock()
    	if !f.Stopped {
    		select {
    		case f.result <- Event{Added, obj}:
    			return
    		default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  6. src/go/types/methodset_test.go

    		"var a T[int]; type T[P any] struct{}; func (*T[P]) f() {}":  {},
    		"var a *T[int]; type T[P any] struct{}; func (*T[P]) f() {}": {{"f", []int{0}, true}},
    
    		// Interfaces
    		"var a T; type T interface{ f() }":                           {{"f", []int{0}, true}},
    		"var a T1; type ( T1 T2; T2 interface{ f() } )":              {{"f", []int{0}, true}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 08 15:27:57 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. src/go/token/position_test.go

    		// add file and verify name and size
    		f := fset.AddFile(test.filename, fset.Base()+delta, test.size)
    		if f.Name() != test.filename {
    			t.Errorf("got filename %q; want %q", f.Name(), test.filename)
    		}
    		if f.Size() != test.size {
    			t.Errorf("%s: got file size %d; want %d", f.Name(), f.Size(), test.size)
    		}
    		if fset.File(f.Pos(0)) != f {
    			t.Errorf("%s: f.Pos(0) was not found in f", f.Name())
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/type.go

    func (f exprFlags) Assignable() bool      { return f&64 != 0 }
    func (f exprFlags) HasOk() bool           { return f&128 != 0 }
    func (f exprFlags) IsRuntimeHelper() bool { return f&256 != 0 } // a runtime function called from transformed syntax
    
    func (f *exprFlags) SetIsVoid()          { *f |= 1 }
    func (f *exprFlags) SetIsType()          { *f |= 2 }
    func (f *exprFlags) SetIsBuiltin()       { *f |= 4 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/shell_test.go

    )
    
    func FuzzSplitPkgConfigOutput(f *testing.F) {
    	testenv.MustHaveExecPath(f, "/bin/sh")
    
    	f.Add([]byte(`$FOO`))
    	f.Add([]byte(`\$FOO`))
    	f.Add([]byte(`${FOO}`))
    	f.Add([]byte(`\${FOO}`))
    	f.Add([]byte(`$(/bin/false)`))
    	f.Add([]byte(`\$(/bin/false)`))
    	f.Add([]byte(`$((0))`))
    	f.Add([]byte(`\$((0))`))
    	f.Add([]byte(`unescaped space`))
    	f.Add([]byte(`escaped\ space`))
    	f.Add([]byte(`"unterminated quote`))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 15 15:30:05 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/ast.go

    		f.walk(n.Body, ctxTypeSwitch, visit)
    	case *ast.CommClause:
    		f.walk(n.Comm, ctxStmt, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.SelectStmt:
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.ForStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(&n.Cond, ctxExpr, visit)
    		f.walk(n.Post, ctxStmt, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.RangeStmt:
    		f.walk(&n.Key, ctxExpr, visit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top