Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 654 for afunc (0.05 sec)

  1. src/net/http/export_test.go

    // All test hooks must be non-nil so they can be called directly,
    // but the tests use nil to mean hook disabled.
    func unnilTestHook(f *func()) {
    	if *f == nil {
    		*f = nop
    	}
    }
    
    func hookSetter(dst *func()) func(func()) {
    	return func(fn func()) {
    		unnilTestHook(&fn)
    		*dst = fn
    	}
    }
    
    func ExportHttp2ConfigureTransport(t *Transport) error {
    	t2, err := http2configureTransports(t)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. src/slices/example_test.go

    	}
    	n, found := slices.BinarySearchFunc(people, Person{"Bob", 0}, func(a, b Person) int {
    		return strings.Compare(a.Name, b.Name)
    	})
    	fmt.Println("Bob:", n, found)
    	// Output:
    	// Bob: 1 true
    }
    
    func ExampleCompact() {
    	seq := []int{0, 1, 1, 2, 3, 5, 8}
    	seq = slices.Compact(seq)
    	fmt.Println(seq)
    	// Output:
    	// [0 1 2 3 5 8]
    }
    
    func ExampleCompactFunc() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 17:28:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_openbsd_386.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  4. src/runtime/race.go

    var racearenastart uintptr
    var racearenaend uintptr
    
    func racefuncenter(callpc uintptr)
    func racefuncenterfp(fp uintptr)
    func racefuncexit()
    func raceread(addr uintptr)
    func racewrite(addr uintptr)
    func racereadrange(addr, size uintptr)
    func racewriterange(addr, size uintptr)
    func racereadrangepc1(addr, size, pc uintptr)
    func racewriterangepc1(addr, size, pc uintptr)
    func racecallbackthunk(uintptr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

    }
    
    func (s *StructuralValidationRule) Rule() string {
    	return s.rule
    }
    func (s *StructuralValidationRule) Message() string {
    	return s.message
    }
    func (s *StructuralValidationRule) FieldPath() string {
    	return s.fieldPath
    }
    func (s *StructuralValidationRule) MessageExpression() string {
    	return s.messageExpression
    }
    
    func (s *Structural) XValidations() []common.ValidationRule {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/internal/poll/fd_poll_runtime.go

    //
    //go:linkname runtimeNano runtime.nanotime
    func runtimeNano() int64
    
    func runtime_pollServerInit()
    func runtime_pollOpen(fd uintptr) (uintptr, int)
    func runtime_pollClose(ctx uintptr)
    func runtime_pollWait(ctx uintptr, mode int) int
    func runtime_pollWaitCanceled(ctx uintptr, mode int)
    func runtime_pollReset(ctx uintptr, mode int) int
    func runtime_pollSetDeadline(ctx uintptr, d int64, mode int)
    func runtime_pollUnblock(ctx uintptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. pkg/test/framework/components/cluster/clusters.go

    			return true
    		}
    	}
    	return false
    }
    
    func exclude(exclude ...Cluster) func(Cluster) bool {
    	return func(cc Cluster) bool {
    		for _, e := range exclude {
    			if cc.Name() == e.Name() {
    				return true
    			}
    		}
    		return false
    	}
    }
    
    func (c Clusters) filterClusters(included func(Cluster) bool,
    	excluded func(Cluster) bool,
    ) Clusters {
    	var out Clusters
    	for _, cc := range c {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/zz_generated.conversion.go

    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  9. pkg/test/framework/suite_test.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func defaultExitFn(_ int) {}
    
    func settingsFn(s *resource.Settings) func(string) (*resource.Settings, error) {
    	return func(testID string) (*resource.Settings, error) {
    		s.TestID = testID
    		s.BaseDir = os.TempDir()
    		return s, nil
    	}
    }
    
    func defaultSettingsFn(testID string) (*resource.Settings, error) {
    	s := resource.DefaultSettings()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    	if err := s.AddGeneratedConversionFunc((*APIEndpoint)(nil), (*kubeadm.APIEndpoint)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top