Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 285 for xxperm (0.12 sec)

  1. src/os/exec/lp_unix.go

    		return syscall.EISDIR
    	}
    	err = unix.Eaccess(file, unix.X_OK)
    	// ENOSYS means Eaccess is not available or not implemented.
    	// EPERM can be returned by Linux containers employing seccomp.
    	// In both cases, fall back to checking the permission bits.
    	if err == nil || (err != syscall.ENOSYS && err != syscall.EPERM) {
    		return err
    	}
    	if m&0111 != 0 {
    		return nil
    	}
    	return fs.ErrPermission
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    			result, err := takeByTopologyNUMADistributed(tc.topo, tc.availableCPUs, tc.numCPUs, tc.cpuGroupSize)
    			if err != nil {
    				if tc.expErr == "" {
    					t.Errorf("unexpected error [%v]", err)
    				}
    				if tc.expErr != "" && err.Error() != tc.expErr {
    					t.Errorf("expected error to be [%v] but it was [%v]", tc.expErr, err)
    				}
    				return
    			}
    			if !result.Equals(tc.expResult) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/cache/secretcache_test.go

    		t.Run(c.name, func(t *testing.T) {
    			err = sc.tryAddFileWatcher(c.filePath, dummyResourceName)
    			if err != c.expErr {
    				t.Fatalf("expected: %v, got: %v", c.expErr, err)
    			}
    			t.Logf("file watch: %v\n", sc.certWatcher.WatchList())
    			if c.expErr == nil && len(sc.certWatcher.WatchList()) != 1 {
    				t.Fatalf("expected certWatcher to watch 1 file, but it is watching: %d files", len(sc.certWatcher.WatchList()))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. pkg/volume/util/subpath/subpath_linux_test.go

    				}
    				actualMode := st.Mode()
    				if actualMode != test.perm {
    					if actualMode^test.perm == os.ModeSetgid && test.perm&os.ModeSetgid == 0 {
    						// when TMPDIR is a kubernetes emptydir, the sticky gid bit is set due to fsgroup
    						t.Logf("masking bit from %o", actualMode)
    					} else {
    						t.Errorf("expected permissions %o, got %o (%b)", test.perm, actualMode, test.perm^actualMode)
    					}
    				}
    			}
    		})
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  5. src/internal/testenv/testenv_unix.go

    	var errno syscall.Errno
    	if errors.As(err, &errno) {
    		switch errno {
    		case syscall.EPERM, syscall.EROFS:
    			// User lacks permission: either the call requires root permission and the
    			// user is not root, or the call is denied by a container security policy.
    			return true
    		case syscall.EINVAL:
    			// Some containers return EINVAL instead of EPERM if a system call is
    			// denied by security policy.
    			return true
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 17:44:01 UTC 2023
    - 994 bytes
    - Viewed (0)
  6. src/crypto/sha512/sha512block_ppc64x.s

    	VADDUDM	V16, V6, V6
    	VADDUDM	V17, V7, V7
    
    	CMPU	INP, END
    	BLT	loop
    
    #ifdef GOARCH_ppc64le
    	VPERM	V0, V1, KI, V0
    	VPERM	V2, V3, KI, V2
    	VPERM	V4, V5, KI, V4
    	VPERM	V6, V7, KI, V6
    #else
    	VPERM	V1, V0, KI, V0
    	VPERM	V3, V2, KI, V2
    	VPERM	V5, V4, KI, V4
    	VPERM	V7, V6, KI, V6
    #endif
    	STXVD2X	VS32, (CTX+R_x000)	// v0 = vs32
    	STXVD2X	VS34, (CTX+R_x010)	// v2 = vs34
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. docs/pt/docs/help-fastapi.md

    Ajudando a responder as questões de varias pessoas, você pode se tornar um [Expert em FastAPI](fastapi-people.md#especialistas){.internal-link target=_blank} oficial. 🎉
    
    ## Acompanhe o repositório do GitHub
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_test.go

    	testCases := []struct {
    		name    string
    		config  string
    		expErr  string
    		checkFn func(err error) bool
    	}{
    		{
    			name:   "Decode error test",
    			config: "Twas bryllyg, and ye slythy toves",
    			expErr: "could not find expected ':'",
    		},
    		{
    			name:   "Bad config type test",
    			config: "kind: KubeSchedulerConfiguration",
    			expErr: "no kind",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. internal/lock/lock_nix.go

    // flags and shouldn't be considered as replacement
    // for os.OpenFile().
    func LockedOpenFile(path string, flag int, perm os.FileMode) (*LockedFile, error) {
    	return lockedOpenFile(path, flag, perm, 0)
    }
    
    // Open - Call os.OpenFile
    func Open(path string, flag int, perm os.FileMode) (*os.File, error) {
    	return os.OpenFile(path, flag, perm)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/push-tpose-through-ewise.mlir

    // CHECK-LABEL: pushTposeAfterAddSimple
    func.func @pushTposeAfterAddSimple(%arg0: tensor<2x3x4x5xf32>) -> tensor<5x2x3x4xf32> {
      %perm = arith.constant dense<[3, 0, 1, 2]> : tensor<4xi32>
      %0 = "tfl.transpose"(%arg0, %perm) : (tensor<2x3x4x5xf32>, tensor<4xi32>) -> tensor<5x2x3x4xf32>
      %cst = arith.constant dense<1.0> : tensor<5x2x3x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top