Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 151 for perm (0.13 sec)

  1. src/archive/tar/tar_test.go

    	h, err := FileInfoHeader(fi, "")
    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "small.txt"; g != e {
    		t.Errorf("Name = %q; want %q", g, e)
    	}
    	if g, e := h.Mode, int64(fi.Mode().Perm()); g != e {
    		t.Errorf("Mode = %#o; want %#o", g, e)
    	}
    	if g, e := h.Size, int64(5); g != e {
    		t.Errorf("Size = %v; want %v", g, e)
    	}
    	if g, e := h.ModTime, fi.ModTime(); !g.Equal(e) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        }
    
        @Override
        public void finalizeReferent() {}
      }
    
      private static class PermissivePolicy extends Policy {
        @Override
        public boolean implies(ProtectionDomain pd, Permission perm) {
          return true;
        }
      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
        final ClassLoader myLoader = getClass().getClassLoader();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        Permissions perms = new Permissions();
    
        AdjustablePolicy(Permission... permissions) {
          for (Permission permission : permissions) perms.add(permission);
        }
    
        void addPermission(Permission perm) {
          perms.add(perm);
        }
    
        void clearPermissions() {
          perms = new Permissions();
        }
    
        @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        }
    
        @Override
        public void finalizeReferent() {}
      }
    
      private static class PermissivePolicy extends Policy {
        @Override
        public boolean implies(ProtectionDomain pd, Permission perm) {
          return true;
        }
      }
    
      private WeakReference<ClassLoader> useFrqInSeparateLoader() throws Exception {
        final ClassLoader myLoader = getClass().getClassLoader();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  5. cmd/object_api_suite_test.go

    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	uploadID := res.UploadID
    
    	parts := make(map[int]string)
    	metadata := make(map[string]string)
    	for i := 1; i <= 10; i++ {
    		randomPerm := rand.Perm(10)
    		randomString := ""
    		for _, num := range randomPerm {
    			randomString += strconv.Itoa(num)
    		}
    
    		expectedETaghex := getMD5Hash([]byte(randomString))
    
    		metadata["md5"] = expectedETaghex
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/DuplexTest.kt

            .requestIOException()
            .exhaustResponse()
        server.enqueue(
          MockResponse.Builder()
            .clearHeaders()
            .code(HttpURLConnection.HTTP_MOVED_PERM)
            .addHeader("Location: /b")
            .streamHandler(body)
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .body("this is /b")
            .build(),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  7. misc/wasm/wasm_exec.js

    			lchown(path, uid, gid, callback) { callback(enosys()); },
    			link(path, link, callback) { callback(enosys()); },
    			lstat(path, callback) { callback(enosys()); },
    			mkdir(path, perm, callback) { callback(enosys()); },
    			open(path, flags, mode, callback) { callback(enosys()); },
    			read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
    			readdir(path, callback) { callback(enosys()); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  8. api/except.txt

    pkg os, method (*PathError) Timeout() bool
    pkg os, method (*PathError) Unwrap() error
    pkg os, method (FileMode) IsDir() bool
    pkg os, method (FileMode) IsRegular() bool
    pkg os, method (FileMode) Perm() FileMode
    pkg os, method (FileMode) String() string
    pkg os, type FileInfo interface { IsDir, ModTime, Mode, Name, Size, Sys }
    pkg os, type FileInfo interface, IsDir() bool
    pkg os, type FileInfo interface, ModTime() time.Time
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  9. cmd/perf-tests.go

    		Downloads:     totalBytesRead,
    		UploadTimes:   uploadTimes,
    		DownloadTimes: downloadTimes,
    		DownloadTTFB:  downloadTTFB,
    		Error:         retError,
    	}, nil
    }
    
    // To collect RX stats during "mc support perf net"
    // RXSample holds the RX bytes for the duration between
    // the last peer to connect and the first peer to disconnect.
    // This is to improve the RX throughput accuracy.
    type netPerfRX struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    					if hm.CPU.CPUCount > 0 {
    						perc := math.Round(ls.Load1*100*100/float64(hm.CPU.CPUCount)) / 100
    						updateResourceMetrics(cpuSubsystem, cpuLoad1Perc, perc, labels, false)
    						perc = math.Round(ls.Load5*100*100/float64(hm.CPU.CPUCount)) / 100
    						updateResourceMetrics(cpuSubsystem, cpuLoad5Perc, perc, labels, false)
    						perc = math.Round(ls.Load15*100*100/float64(hm.CPU.CPUCount)) / 100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
Back to top