Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Getpid (0.16 sec)

  1. tensorflow/c/c_test.c

        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
      snprintf(full_path, length, "%s/%s", path, file_name);
    
      TF_WritableFileHandle* h;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    }
    
    // nextSuffix - provides a new unique suffix every time the function is called.
    func nextSuffix() string {
    	randmu.Lock()
    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net.go

    	if err := s.syncHostIPSets(ambientPods); err != nil {
    		log.Warnf("failed to sync host IPset: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	podsByUID := slices.GroupUnique(ambientPods, (*corev1.Pod).GetUID)
    	if err := s.buildZtunnelSnapshot(podsByUID); err != nil {
    		log.Warnf("failed to construct initial ztunnel snapshot: %v", err)
    		consErr = append(consErr, err)
    	}
    
    	return errors.Join(consErr...)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  4. src/archive/tar/tar_test.go

    		h: &Header{
    			Name:     "dev/initctl",
    			Mode:     0600,
    			Size:     0,
    			ModTime:  time.Unix(1360578949, 0),
    			Typeflag: TypeFifo,
    		},
    		fm: 0600 | fs.ModeNamedPipe,
    	}, {
    		// setuid.
    		h: &Header{
    			Name:     "bin/su",
    			Mode:     0755 | c_ISUID,
    			Size:     23232,
    			ModTime:  time.Unix(1355405093, 0),
    			Typeflag: TypeReg,
    		},
    		fm: 0755 | fs.ModeSetuid,
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. helm-releases/minio-5.1.0.tgz

    false allowHostNetwork: false allowHostPID: false allowHostPorts: false allowPrivilegeEscala: true allowPrivilegedConta: false allowedCapabilities: [] readOnlyRootFilesyst: false defaultAddCapabiliti: [] requiredDropCapabili: - KILL - MKNOD - SETUID - SETGID fsGroup: type: MustRunAs ranges: - max: {{ .Values.securityContext.fsGroup }} min: {{ .Values.securityContext.fsGroup }} runAsUser: type: MustRunAs uid: {{ .Values.securityContext.runAsUser }} seLinuxContext: type: MustRunAs supplementalGroups:...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top