Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for lib_func (0.37 sec)

  1. src/runtime/os2_aix.go

    	libpthread_attr_setstackaddr,
    	libpthread_create,
    	libpthread_sigthreadmask,
    	libpthread_self,
    	libpthread_kill libFunc
    )
    
    type libFunc uintptr
    
    // asmsyscall6 calls the libc symbol using a C convention.
    // It's defined in sys_aix_ppc64.go.
    var asmsyscall6 libFunc
    
    // syscallX functions must always be called with g != nil and m != nil,
    // as it relies on g.m.libcall to pass arguments to asmcgocall.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    		name        string
    		initialOpts *metav1.ListOptions
    		tokensSeen  []string
    		listFunc    func(metav1.ListOptions) (runtime.Object, error)
    
    		expectedTokens []string
    		wantErr        string
    	}{
    		{
    			name:        "updates list options with continue token until list finished",
    			initialOpts: &metav1.ListOptions{},
    			listFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. 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)
  4. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    	listFunc ListFuncByNamespace,
    	scopeFunc MatchesScopeFunc,
    	usageFunc UsageFunc) (quota.UsageStats, error) {
    	// default each tracked resource to zero
    	result := quota.UsageStats{Used: corev1.ResourceList{}}
    	for _, resourceName := range options.Resources {
    		result.Used[resourceName] = resource.Quantity{Format: resource.DecimalSI}
    	}
    	items, err := listFunc(options.Namespace)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  5. 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)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    		serializer.NewCodecFactory(policySourceTestScheme).UniversalDecoder())
    
    	// Make an informer for our policies and bindings
    
    	policyInformer := cache.NewSharedIndexInformer(
    		&cache.ListWatch{
    			ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    				return policiesAndBindingsTracker.List(fakePolicyGVR, fakePolicyGVK, "")
    			},
    			WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    			}
    		})
    	}
    }
    
    type testLW struct {
    	ListFunc  func(options metav1.ListOptions) (runtime.Object, error)
    	WatchFunc func(options metav1.ListOptions) (watch.Interface, error)
    }
    
    func (t *testLW) List(options metav1.ListOptions) (runtime.Object, error) {
    	return t.ListFunc(options)
    }
    func (t *testLW) Watch(options metav1.ListOptions) (watch.Interface, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. src/runtime/netpoll_solaris.go

    //go:linkname libc_port_getn libc_port_getn
    //go:linkname libc_port_alert libc_port_alert
    
    var (
    	libc_port_create,
    	libc_port_associate,
    	libc_port_dissociate,
    	libc_port_getn,
    	libc_port_alert libcFunc
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    )
    
    func errno() int32 {
    	return *getg().m.perrno
    }
    
    func port_create() int32 {
    	return int32(sysvicall0(&libc_port_create))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. src/runtime/os3_solaris.go

    	libc_sem_post,
    	libc_sem_reltimedwait_np,
    	libc_sem_wait,
    	libc_setitimer,
    	libc_sigaction,
    	libc_sigaltstack,
    	libc_sigprocmask,
    	libc_sysconf,
    	libc_usleep,
    	libc_write,
    	libc_pipe2 libcFunc
    )
    
    var sigset_all = sigset{[4]uint32{^uint32(0), ^uint32(0), ^uint32(0), ^uint32(0)}}
    
    func getPageSize() uintptr {
    	n := int32(sysconf(__SC_PAGESIZE))
    	if n <= 0 {
    		return 0
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/syscall/zsyscall_solaris_amd64.go

    //go:linkname libc_recvfrom libc_recvfrom
    //go:linkname libc___xnet_recvmsg libc___xnet_recvmsg
    //go:linkname libc_getexecname libc_getexecname
    //go:linkname libc_utimensat libc_utimensat
    
    type libcFunc uintptr
    
    var (
    	libc_pipe2,
    	libc_accept4,
    	libc_Getcwd,
    	libc_getgroups,
    	libc_setgroups,
    	libc_fcntl,
    	libc_accept,
    	libc___xnet_sendmsg,
    	libc_Access,
    	libc_Adjtime,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 10 21:09:10 UTC 2023
    - 37.6K bytes
    - Viewed (0)
Back to top