Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for npid (0.11 sec)

  1. src/cmd/go/testdata/script/test2json_interrupt.txt

    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    		os.Setenv("GO_TEST_INTERRUPT_PIDS", fmt.Sprintf("%d,%d", ppid, pid))
    	}
    
    	sentInterrupt := false
    	f.Fuzz(func(t *testing.T, orig string) {
    		if !sentInterrupt {
    			// Simulate a ctrl-C on the keyboard by sending SIGINT
    			// to the main test process and its parent.
    			for _, pid := range strings.Split(pids, ",") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. pkg/proxy/winkernel/testing/hcnutils_mock.go

    			},
    			DSR:           true,
    			IPv6DualStack: true,
    		},
    		network: hnsNetwork,
    	}
    }
    
    func (hcnObj HcnMock) PopulateQueriedEndpoints(epId, hnsId, ipAddress, mac string, prefixLen uint8) {
    	endpoint := &hcn.HostComputeEndpoint{
    		Id:                 epId,
    		Name:               epId,
    		HostComputeNetwork: hnsId,
    		IpConfigurations: []hcn.IpConfig{
    			{
    				IpAddress:    ipAddress,
    				PrefixLength: prefixLen,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 18 06:29:01 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. istioctl/pkg/version/version.go

    				},
    			}, nil
    		}
    		cpID := xds.IstioControlPlaneInstance{}
    		err = json.Unmarshal([]byte(xdsResponse.ControlPlane.Identifier), &cpID)
    		if err != nil {
    			return nil, fmt.Errorf("could not parse CP Identifier: %w", err)
    		}
    		return &istioVersion.MeshInfo{
    			istioVersion.ServerInfo{
    				Component: cpID.Component,
    				Info:      cpID.Info,
    				Revision:  opts.Revision,
    			},
    		}, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. src/runtime/syscall_aix.go

    	return
    }
    
    //go:linkname syscall_forkx syscall.forkx
    //go:nosplit
    func syscall_forkx(flags uintptr) (pid uintptr, err uintptr) {
    	pid, err = syscall1(&libc_fork, flags)
    	return
    }
    
    //go:linkname syscall_getpid syscall.getpid
    //go:nosplit
    func syscall_getpid() (pid, err uintptr) {
    	pid, err = syscall0(&libc_getpid)
    	return
    }
    
    //go:linkname syscall_ioctl syscall.ioctl
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/syscall/exec_windows_test.go

    	// run child process
    
    	const _PROCESS_CREATE_PROCESS = 0x0080
    	const _PROCESS_DUP_HANDLE = 0x0040
    	childDumpPath := filepath.Join(t.TempDir(), "ppid.txt")
    	ph, err := syscall.OpenProcess(_PROCESS_CREATE_PROCESS|_PROCESS_DUP_HANDLE|syscall.PROCESS_QUERY_INFORMATION,
    		false, uint32(parent.Process.Pid))
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer syscall.CloseHandle(ph)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginIncrementalAnalysisIntegrationTest.groovy

            given:
            Assume.assumeTrue(supportIncrementalAnalysis())
            goodCode()
            file("customRuleSet.xml") << customRuleSet()
    
            succeeds('pmdMain')
    
            when:
            buildFile << "\npmd{${code}}"
            if (versionNumber < VersionNumber.parse("7.0.0")) {
                succeeds('pmdMain', '--info')
            } else {
                // the expected message exposed only in debug mode
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/namespace/kube.go

    	})
    }
    
    // NewNamespace allocates a new testing namespace.
    func newKube(ctx resource.Context, cfg Config) (Instance, error) {
    	mu.Lock()
    	idctr++
    	nsid := idctr
    	r := rnd.Intn(99999)
    	mu.Unlock()
    
    	name := fmt.Sprintf("%s-%d-%d", cfg.Prefix, nsid, r)
    	n := &kubeNamespace{
    		name:   name,
    		prefix: cfg.Prefix,
    		ctx:    ctx,
    	}
    	id := ctx.TrackResource(n)
    	n.id = id
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/runtime/tracecpu.go

    			break // mismatched profile records and tags
    		}
    
    		// Deserialize the data in the profile buffer.
    		recordLen := data[0]
    		timestamp := data[1]
    		ppid := data[2] >> 1
    		if hasP := (data[2] & 0b1) != 0; !hasP {
    			ppid = ^uint64(0)
    		}
    		goid := data[3]
    		mpid := data[4]
    		stk := data[5:recordLen]
    
    		// Overflow records always have their headers contain
    		// all zeroes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. src/os/tempfile_test.go

    			t.Fatalf("MkdirTemp(dir, `tempfile_test`) = %v, %v", name, err)
    		}
    		defer Remove(name)
    
    		re := regexp.MustCompile(wantRePat)
    		if !re.MatchString(name) {
    			t.Errorf("MkdirTemp(%q, %q) created bad name\n\t%q\ndid not match pattern\n\t%q", dir, pattern, name, wantRePat)
    		}
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.pattern, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. src/io/ioutil/tempfile_test.go

    			t.Fatalf("TempDir(dir, `ioutil_test`) = %v, %v", name, err)
    		}
    		defer os.Remove(name)
    
    		re := regexp.MustCompile(wantRePat)
    		if !re.MatchString(name) {
    			t.Errorf("TempDir(%q, %q) created bad name\n\t%q\ndid not match pattern\n\t%q", dir, pattern, name, wantRePat)
    		}
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.pattern, func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 18 00:47:29 UTC 2022
    - 5.5K bytes
    - Viewed (0)
Back to top