Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 159 for gids (0.04 sec)

  1. pkg/kubelet/kubelet_pods.go

    }
    
    // getKubeletMappings returns the range of IDs that can be used to configure user namespaces.
    // If subordinate user or group ID ranges are specified for the kubelet user and the getsubids tool
    // is installed, then the single mapping specified both for user and group IDs will be used.
    // If the tool is not installed, or there are no IDs configured, the default mapping is returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/util/procfs/procfs_linux_test.go

    }
    
    func TestPidOf(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    	}
    	pids, err := PidOf(filepath.Base(os.Args[0]))
    	assert.Empty(t, err)
    	assert.NotZero(t, pids)
    	assert.Contains(t, pids, os.Getpid())
    }
    
    func TestPKill(t *testing.T) {
    	if runtime.GOOS == "darwin" || runtime.GOOS == "windows" {
    		t.Skipf("not supported on GOOS=%s", runtime.GOOS)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 20 07:13:28 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  3. pkg/util/procfs/procfs_linux.go

    		return fmt.Errorf("name should not be empty")
    	}
    	re, err := regexp.Compile(name)
    	if err != nil {
    		return err
    	}
    	pids := getPids(re)
    	if len(pids) == 0 {
    		return fmt.Errorf("unable to fetch pids for process name : %q", name)
    	}
    	errList := []error{}
    	for _, pid := range pids {
    		if err = syscall.Kill(pid, sig); err != nil {
    			errList = append(errList, err)
    		}
    	}
    	return utilerrors.NewAggregate(errList)
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/MsrpcLookupSids.java

    @SuppressWarnings ( "javadoc" )
    public class MsrpcLookupSids extends lsarpc.LsarLookupSids {
    
        public MsrpcLookupSids ( LsaPolicyHandle policyHandle, jcifs.SID[] sids ) {
            super(policyHandle, new LsarSidArrayX(sids), new lsarpc.LsarRefDomainList(), new lsarpc.LsarTransNameArray(), (short) 1, sids.length);
            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test2json_interrupt.txt

    go 1.20
    -- example_test.go --
    package example_test
    
    import (
    	"fmt"
    	"os"
    	"strconv"
    	"testing"
    	"strings"
    	"time"
    )
    
    func FuzzInterrupt(f *testing.F) {
    	pids := os.Getenv("GO_TEST_INTERRUPT_PIDS")
    	if pids == "" {
    		// This is the main test process.
    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ProcessFixture.groovy

            return result == "" ? [] : result.split("\\n")
        }
    
        // Only supported on *nix platforms
        String[] getProcessInfo(String[] pids) {
            if (pids == null || pids.size() == 0) {
                throw new RuntimeException("Unable to get process info because provided pids are null or empty!")
            }
            if (!(OperatingSystem.current().unix)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            } else {
                entry = vertex;
            }
    
            MetadataTreeNode[] kids = node.getChildren();
            if (kids == null || kids.length < 1) {
                return;
            }
    
            for (int i = 0; i < kids.length; i++) {
                MetadataTreeNode n = kids[i];
                processTreeNodes(vertex, n, depth + 1, i);
            }
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 05 18:41:13 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

        LsarSidArrayX ( jcifs.SID[] sids ) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for ( int si = 0; si < sids.length; si++ ) {
                this.sids[ si ] = new lsarpc.LsarSidPtr();
                this.sids[ si ].sid = sids[ si ].unwrap(sid_t.class);
            }
        }
    
    
        LsarSidArrayX ( SID[] sids ) {
            this.num_sids = sids.length;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/SidTest.java

        }
    
    
        @Test
        public void resolveWellKnownUsers () throws IOException {
            SID domsid = new SID(getRequiredProperty(TestProperties.TEST_DOMAIN_SID));
            int rids[] = new int[] {
                500, 501
            };
            for ( int rid : rids ) {
                SID sid = new SID(domsid, rid);
                sid.resolve(getRequiredProperty(TestProperties.TEST_DOMAIN_DC), withTestNTLMCredentials(getContext()));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.1K bytes
    - Viewed (0)
  10. src/crypto/x509/root_windows.go

    	if len(keyUsages) == 0 {
    		keyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
    	}
    	oids := make([]*byte, 0, len(keyUsages))
    	for _, eku := range keyUsages {
    		if eku == ExtKeyUsageAny {
    			oids = nil
    			break
    		}
    		if oid, ok := windowsExtKeyUsageOIDs[eku]; ok {
    			oids = append(oids, &oid[0])
    		}
    	}
    	if oids != nil {
    		para.RequestedUsage.Type = syscall.USAGE_MATCH_TYPE_OR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top