Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for lib_func (0.2 sec)

  1. src/syscall/exec_solaris_test.go

    //go:cgo_import_dynamic libc_Getpgid getpgid "libc.so"
    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.so"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    	r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&libc_Getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
    	pgid = int(r0)
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. src/os/user/lookup_unix.go

    package user
    
    import (
    	"bufio"
    	"bytes"
    	"errors"
    	"io"
    	"os"
    	"strconv"
    	"strings"
    )
    
    // lineFunc returns a value, an error, or (nil, nil) to skip the row.
    type lineFunc func(line []byte) (v any, err error)
    
    // readColonFile parses r as an /etc/group or /etc/passwd style file, running
    // fn for each row. readColonFile returns a value, an error, or (nil, nil) if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/syscall/exec_aix_test.go

    //go:cgo_import_dynamic libc_Getpgrp getpgrp "libc.a/shr_64.o"
    
    //go:linkname libc_Getpgid libc_Getpgid
    //go:linkname libc_Getpgrp libc_Getpgrp
    
    var (
    	libc_Getpgid,
    	libc_Getpgrp libcFunc
    )
    
    func Getpgid(pid int) (pgid int, err error) {
    	r0, _, e1 := syscall6(uintptr(unsafe.Pointer(&libc_Getpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0)
    	pgid = int(r0)
    	if e1 != 0 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. pkg/config/schema/kubeclient/common.go

    	return c.Informers().InformerFor(g, opts, func() cache.SharedIndexInformer {
    		inf := cache.NewSharedIndexInformerWithOptions(
    			&cache.ListWatch{
    				ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. src/runtime/os_illumos.go

    //go:linkname libc_rctlblk_size libc_rctlblk_size
    
    var (
    	libc_getrctl,
    	libc_rctlblk_get_local_action,
    	libc_rctlblk_get_local_flags,
    	libc_rctlblk_get_value,
    	libc_rctlblk_size libcFunc
    )
    
    // Return the minimum value seen for the zone CPU cap, or 0 if no cap is
    // detected.
    func getcpucap() uint64 {
    	// The resource control block is an opaque object whose size is only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 18:06:12 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  6. src/syscall/mksyscall_libc.pl

    package $package
    
    import "unsafe"
    EOF
    
    print "import \"syscall\"\n" if $package ne "syscall";
    
    my $vardecls = "\t" . join(",\n\t", @vars);
    $vardecls .= " libcFunc";
    
    chomp($_=<<EOF);
    
    $dynimports
    $linknames
    type libcFunc uintptr
    
    var (
    $vardecls
    )
    
    $text
    EOF
    print $_;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1/customresourcedefinition.go

    	return cache.NewSharedIndexInformer(
    		&cache.ListWatch{
    			ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
    				if tweakListOptions != nil {
    					tweakListOptions(&options)
    				}
    				return client.ApiextensionsV1().CustomResourceDefinitions().List(context.TODO(), options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1beta1/customresourcedefinition.go

    	return cache.NewSharedIndexInformer(
    		&cache.ListWatch{
    			ListFunc: func(options v1.ListOptions) (runtime.Object, error) {
    				if tweakListOptions != nil {
    					tweakListOptions(&options)
    				}
    				return client.ApiextensionsV1beta1().CustomResourceDefinitions().List(context.TODO(), options)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  10. 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)
Back to top