- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 478 for readTime (0.29 sec)
-
cni/test/install_cni.go
// checkResult checks if resultFile is equal to expectedFile at each tick until timeout func checkResult(result, expected string) error { resultFile, err := os.ReadFile(result) if err != nil { return fmt.Errorf("couldn't read result: %v", err) } expectedFile, err := os.ReadFile(expected) if err != nil { return fmt.Errorf("couldn't read expected: %v", err) } if !bytes.Equal(resultFile, expectedFile) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 11.3K bytes - Viewed (0) -
cni/pkg/util/pluginutil.go
return } errChan <- err } } } // Read CNI config from file and return the unmarshalled JSON as a map func ReadCNIConfigMap(path string) (map[string]any, error) { cniConfig, err := os.ReadFile(path) if err != nil { return nil, err } var cniConfigMap map[string]any if err = json.Unmarshal(cniConfig, &cniConfigMap); err != nil { return nil, fmt.Errorf("%s: %w", path, err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 3.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java
super(messageBuilderFactory, secDispatcher); } @Override protected int doExecute(DefaultEncryptInvoker.LocalContext context) throws Exception { String encrypted = context.reader.readLine("Enter the password to decrypt: "); if (secDispatcher.isAnyEncryptedString(encrypted)) { context.terminal.writer().println(secDispatcher.decrypt(encrypted)); return OK; } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/guide/GetExample.java
} } public static void main(String[] args) throws IOException { GetExample example = new GetExample(); String response = example.run("https://raw.github.com/square/okhttp/master/README.md"); System.out.println(response); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 1.3K bytes - Viewed (0) -
common-protos/k8s.io/api/core/v1/generated.proto
// More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it repeated string monitors = 1; // path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / // +optional optional string path = 2; // user is Optional: User is the rados user name, default is admin // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it // +optional
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 255.8K bytes - Viewed (0) -
src/archive/zip/fuzz_test.go
testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata { if de.IsDir() { continue } b, err := os.ReadFile(filepath.Join("testdata", de.Name())) if err != nil { f.Fatalf("failed to read testdata: %s", err) } f.Add(b) } f.Fuzz(func(t *testing.T, b []byte) {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 1.7K bytes - Viewed (0) -
cmd/handler-api.go
const ( cgroupV1MemLimitFile = "/sys/fs/cgroup/memory/memory.limit_in_bytes" cgroupV2MemLimitFile = "/sys/fs/cgroup/memory.max" ) func cgroupMemLimit() (limit uint64) { buf, err := os.ReadFile(cgroupV2MemLimitFile) if err != nil { buf, err = os.ReadFile(cgroupV1MemLimitFile) } if err != nil { return 0 } limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
architecture/networking/controllers.md
*All Istio informer usage should use this library and not operate on Kubernetes informers directly.* **`krt`** is a very high level wrapper around Kubernetes informers, building on top of `kclient`. See the [krt README](../../pkg/kube/krt/README.md) for more information. *krt is currently experimental; please ask maintainers before utilizing it in new areas.* ## Writing Controllers
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Feb 09 17:41:25 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java
int start = bufferIndex; fid = readInt2( buffer, bufferIndex ); bufferIndex += 2; fileAttributes = readInt2( buffer, bufferIndex ); bufferIndex += 2; lastWriteTime = readUTime( buffer, bufferIndex ); bufferIndex += 4; dataSize = readInt4( buffer, bufferIndex ); bufferIndex += 4; grantedAccess = readInt2( buffer, bufferIndex ); bufferIndex += 2;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.8K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
if (console != null) { callback.password = console.readPassword(callback.prompt) } else { System.err.println(callback.prompt) callback.password = System.`in`.bufferedReader().readLine().toCharArray() } } else { throw UnsupportedCallbackException(callback) } } } } fun main() { YubikeyClientAuth().run()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.2K bytes - Viewed (0)