Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 725 for hasUser (0.15 sec)

  1. src/os/user/user_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package user
    
    import (
    	"os"
    	"testing"
    )
    
    var (
    	hasCgo  = false
    	hasUSER = os.Getenv("USER") != ""
    	hasHOME = os.Getenv("HOME") != ""
    )
    
    func checkUser(t *testing.T) {
    	t.Helper()
    	if !userImplemented {
    		t.Skip("user: not implemented; skipping tests")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 15:59:43 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go

    func buildImpersonationRequests(headers http.Header) ([]v1.ObjectReference, error) {
    	impersonationRequests := []v1.ObjectReference{}
    
    	requestedUser := headers.Get(authenticationv1.ImpersonateUserHeader)
    	hasUser := len(requestedUser) > 0
    	if hasUser {
    		if namespace, name, err := serviceaccount.SplitUsername(requestedUser); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/filters/storageversion.go

    		// than kube-system, kube-public, kube-node-lease) that need to be created.
    		u, hasUser := request.UserFrom(ctx)
    		if requestInfo.APIGroup == "" && requestInfo.Resource == "namespaces" &&
    			requestInfo.Verb == "create" && hasUser &&
    			u.GetName() == user.APIServerUser && contains(u.GetGroups(), user.SystemPrivilegedGroup) {
    			handler.ServeHTTP(w, req)
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    			for _, ps := range pslc {
    				dID := depIdx[ps.DeploymentID]
    				_, hasUser := sris[dID].UserPolicies[u]
    				info.UserStats[u][ps.DeploymentID] = srUserStatsSummary{
    					SRUserStatsSummary: madmin.SRUserStatsSummary{
    						PolicyMismatch:   userPolicyMismatch,
    						HasUser:          hasUser,
    						HasPolicyMapping: ps.Policy != "",
    					},
    					userPolicy: ps,
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Hasher.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hasher.java

         */
        void putDouble(double value);
    
        /**
         * Feed a boolean value into the hasher.
         */
        void putBoolean(boolean value);
    
        /**
         * Feed a string into the hasher.
         */
        void putString(CharSequence value);
    
        /**
         * Feed a hash code into the hasher.
         */
        void putHash(HashCode hashCode);
    
        /**
         * Puts a hashable value into the hasher.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 11:14:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/Hasher.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  8. cmd/hasher.go

    Harshavardhana <******@****.***> 1653656419 -0700
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

            this.cacheService = cacheService;
            this.stringInterner = stringInterner;
            this.zipHasher = zipHasher;
    
            Hasher hasher = Hashing.newHasher();
            zipHasher.appendConfigurationToHasher(hasher);
            this.zipHasherConfigurationHash = hasher.hash();
        }
    
        public static ClasspathFingerprintingStrategy runtimeClasspath(
            ResourceFilter classpathResourceFilter,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/sys/cpu/cpu_x86.go

    		{Name: "rdseed", Feature: &X86.HasRDSEED},
    		{Name: "sse3", Feature: &X86.HasSSE3},
    		{Name: "sse41", Feature: &X86.HasSSE41},
    		{Name: "sse42", Feature: &X86.HasSSE42},
    		{Name: "ssse3", Feature: &X86.HasSSSE3},
    
    		// These capabilities should always be enabled on amd64:
    		{Name: "sse2", Feature: &X86.HasSSE2, Required: runtime.GOARCH == "amd64"},
    	}
    }
    
    func archInit() {
    
    	Initialized = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top