Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for getgid (0.12 sec)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

    
        /**
         * @return
         * @throws IOException
         */
        private int negotiateWrite ( CommonServerMessageBlockRequest req, boolean setmid ) throws IOException {
            if ( setmid ) {
                makeKey(req);
            }
            else {
                req.setMid(0);
                this.mid.set(1);
            }
            int n = req.encode(this.sbuf, 4);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  2. src/net/http/fs_test.go

    	if err := testenv.Command(t, "strace", "-f", "-q", os.Args[0], "-test.run=^$").Run(); err != nil {
    		t.Skipf("skipping; failed to run strace: %v", err)
    	}
    
    	filename := fmt.Sprintf("1kb-%d", os.Getpid())
    	filepath := path.Join(os.TempDir(), filename)
    
    	if err := os.WriteFile(filepath, bytes.Repeat([]byte{'a'}, 1<<10), 0755); err != nil {
    		t.Fatal(err)
    	}
    	defer os.Remove(filepath)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    			fatalf("unknown test %q", name)
    		}
    	}
    
    	// On a few builders, make GOROOT unwritable to catch tests writing to it.
    	if strings.HasPrefix(os.Getenv("GO_BUILDER_NAME"), "linux-") {
    		if os.Getuid() == 0 {
    			// Don't bother making GOROOT unwritable:
    			// we're running as root, so permissions would have no effect.
    		} else {
    			xatexit(t.makeGOROOTUnwritable())
    		}
    	}
    
    	if !t.json {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go

    	details := &metav1.StatusDetails{
    		Name:  accessor.GetName(),
    		Group: qualifiedResource.Group,
    		Kind:  qualifiedResource.Resource, // Yes we set Kind field to resource.
    		UID:   accessor.GetUID(),
    	}
    	status := &metav1.Status{Status: metav1.StatusSuccess, Details: details}
    	return status, nil
    }
    
    // Watch makes a matcher for the given label and field, and calls
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 19 23:22:44 UTC 2024
    - 60.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	t.Helper()
    	uids := sets.New[string]()
    	workloads := s.lookup("")
    	for _, wl := range workloads {
    		if wl.GetWorkload() != nil && uids.InsertContains(wl.GetWorkload().GetUid()) {
    			t.Fatal("Index has workloads with the same UID")
    		}
    	}
    }
    
    func (s *ambientTestServer) deletePolicy(name, ns string, kind config.GroupVersionKind,
    ) {
    	switch kind {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. pkg/workloadapi/workload.pb.go

    }
    
    // Deprecated: Use Workload.ProtoReflect.Descriptor instead.
    func (*Workload) Descriptor() ([]byte, []int) {
    	return file_workloadapi_workload_proto_rawDescGZIP(), []int{3}
    }
    
    func (x *Workload) GetUid() string {
    	if x != nil {
    		return x.Uid
    	}
    	return ""
    }
    
    func (x *Workload) GetName() string {
    	if x != nil {
    		return x.Name
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. src/os/os_test.go

    			select {
    			case <-done:
    				return
    			case <-hold:
    			}
    			// Getwd might be wrong
    			f0, err := Stat(".")
    			if err != nil {
    				t.Error(err)
    				return
    			}
    			pwd, err := Getwd()
    			if err != nil {
    				t.Errorf("Getwd: %v", err)
    				return
    			}
    			if pwd != d {
    				t.Errorf("Getwd() = %q, want %q", pwd, d)
    				return
    			}
    			f1, err := Stat(pwd)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top