Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 903 for f$ (0.02 sec)

  1. 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)
  2. 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)
  3. pkg/test/framework/components/echo/match/matchers_test.go

    }
    
    func (f fakeInstance) PortForName(name string) echo.Port {
    	return f.Config().Ports.MustForName(name)
    }
    
    func (f fakeInstance) Config() echo.Config {
    	cfg := echo.Config(f)
    	_ = cfg.FillDefaults(nil)
    	return cfg
    }
    
    func (f fakeInstance) ServiceName() string {
    	return f.Config().Service
    }
    
    func (f fakeInstance) NamespaceName() string {
    	return f.Config().NamespaceName()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/go/types/generate_test.go

    	"lookup.go":           func(f *ast.File) { fixTokenPos(f) },
    	"main_test.go":        nil,
    	"map.go":              nil,
    	"mono.go": func(f *ast.File) {
    		fixTokenPos(f)
    		insertImportPath(f, `"go/ast"`)
    		renameSelectorExprs(f, "syntax.Expr->ast.Expr")
    	},
    	"named.go":  func(f *ast.File) { fixTokenPos(f); renameSelectors(f, "Trace->_Trace") },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. pkg/volume/testing/volume_host.go

    }
    
    func (f *fakeVolumeHost) GetKubeClient() clientset.Interface {
    	return f.kubeClient
    }
    
    func (f *fakeVolumeHost) GetMounter(pluginName string) mount.Interface {
    	return f.mounter
    }
    
    func (f *fakeVolumeHost) GetSubpather() subpath.Interface {
    	return f.subpather
    }
    
    func (f *fakeVolumeHost) GetPluginMgr() *VolumePluginMgr {
    	return f.pluginMgr
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    // Cleanup cleans out all the cleared entries.
    func (f *WorkFile) Cleanup() {
    	w := 0
    	for _, r := range f.Use {
    		if r.Path != "" {
    			f.Use[w] = r
    			w++
    		}
    	}
    	f.Use = f.Use[:w]
    
    	w = 0
    	for _, r := range f.Replace {
    		if r.Old.Path != "" {
    			f.Replace[w] = r
    			w++
    		}
    	}
    	f.Replace = f.Replace[:w]
    
    	f.Syntax.Cleanup()
    }
    
    func (f *WorkFile) AddGoStmt(version string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/sync/once.go

    func (o *Once) Do(f func()) {
    	// Note: Here is an incorrect implementation of Do:
    	//
    	//	if o.done.CompareAndSwap(0, 1) {
    	//		f()
    	//	}
    	//
    	// Do guarantees that when it returns, f has finished.
    	// This implementation would not implement that guarantee:
    	// given two simultaneous calls, the winner of the cas would
    	// call f, and the second would return immediately, without
    	// waiting for the first's call to f to complete.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/go/token/position.go

    func (f *File) LineCount() int {
    	f.mutex.Lock()
    	n := len(f.lines)
    	f.mutex.Unlock()
    	return n
    }
    
    // AddLine adds the line offset for a new line.
    // The line offset must be larger than the offset for the previous line
    // and smaller than the file size; otherwise the line offset is ignored.
    func (f *File) AddLine(offset int) {
    	f.mutex.Lock()
    	if i := len(f.lines); (i == 0 || f.lines[i-1] < offset) && offset < f.size {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. pkg/kube/krt/filter.go

    	indexMatches  func(any) bool
    }
    
    func (f *filter) String() string {
    	attrs := []string{}
    	if !f.keys.IsNil() {
    		attrs = append(attrs, "keys="+f.keys.String())
    	}
    	if f.selectsNonEmpty != nil {
    		attrs = append(attrs, fmt.Sprintf("selectsNonEmpty=%v", f.selectsNonEmpty))
    	}
    	if f.selects != nil {
    		attrs = append(attrs, fmt.Sprintf("selects=%v", f.selects))
    	}
    	if f.labels != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    				builder.AppendRuleV6(iptableslog.UndefinedCommand, "chain", "table", "-f", "foo", "-b", "bar")
    				builder.InsertRuleV6(iptableslog.UndefinedCommand, "chain", "table", 2, "-f", "foo", "-b", "bar")
    				builder.InsertRuleV6(iptableslog.UndefinedCommand, "chain", "table", 1, "-f", "foo", "-b", "bar")
    				builder.AppendRuleV4(iptableslog.UndefinedCommand, constants.PREROUTING, constants.NAT, "-f", "foo", "-b", "bar")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top