- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 511 for readable (0.14 sec)
-
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) -
cmd/erasure-common.go
defer wg.Done() if disks[i] == nil { return } di, err := disks[i].DiskInfo(context.Background(), DiskInfoOptions{}) if err != nil || di.Healing { // - Do not consume disks which are not reachable // unformatted or simply not accessible for some reason. // // - Do not consume disks which are being healed // // - Future: skip busy disks return } mu.Lock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.3K bytes - Viewed (0) -
cni/pkg/install/install_test.go
} // check if conf file is deleted/conflist file is updated if c.chainedCNIPlugin { resultConfig := testutils.ReadFile(t, cniConfigFilePath) goldenFilepath := filepath.Join("testdata", c.expectedConfigFilename) goldenConfig := testutils.ReadFile(t, goldenFilepath) testutils.CompareBytes(t, resultConfig, goldenConfig, goldenFilepath) } else if file.Exists(cniConfigFilePath) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
* `::1` will reach the IPv6 server. * * By orchestrating two different servers with the same port but different IP addresses, we can * test what OkHttp does when both are reachable, or if only one is reachable. * * This test only runs on host machines that have both IPv4 and IPv6 addresses for localhost. */ @Timeout(30) class FastFallbackTest { @RegisterExtension
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
"error": fmt.Sprintf("%v", err), }) } type Result struct { Result bool `json:"result"` } func mainHandler(w http.ResponseWriter, r *http.Request) { body, err := io.ReadAll(r.Body) if err != nil { writeErrorResponse(w, err) return } var out bytes.Buffer json.Indent(&out, body, "", " ") fmt.Printf("Received JSON payload:\n%s\n", out.String())
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/letsencrypt/LetsEncryptClientTest.kt
-----END CERTIFICATE----- """.trimIndent().decodeCertificatePem() val handshakeCertificates = HandshakeCertificates.Builder() // TODO reenable in official answers // .addPlatformTrustedCertificates() .addTrustedCertificate(cert) .build() clientBuilder .sslSocketFactory(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/PropertyDetailRenderer.java
if (!propertyDoc.getMetaData().isWriteable()) { title.appendChild(document.createTextNode(" (read-only)")); } else if (!propertyDoc.getMetaData().isReadable()) { title.appendChild(document.createTextNode(" (write-only)")); } } warningsRenderer.renderTo(propertyDoc, "property", section);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.5K bytes - Viewed (0) -
cmd/sftp-server_test.go
suite.SFTPFailedPublicKeyAuthenticationInvalidKey(c) suite.TearDownSuite(c) }, ) } } func (s *TestSuiteIAM) SFTPFailedPublicKeyAuthenticationInvalidKey(c *check) { keyBytes, err := os.ReadFile("./testdata/invalid_test_key.pub") if err != nil { c.Fatalf("could not read test key file: %s", err) } testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/server_test.go
c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue) } } func verifyError(c *check, response *http.Response, code, description string, statusCode int) { c.Helper() data, err := io.ReadAll(response.Body) c.Assert(err, nil) errorResponse := APIErrorResponse{} err = xml.Unmarshal(data, &errorResponse) c.Assert(err, nil) c.Assert(errorResponse.Code, code) c.Assert(errorResponse.Message, description)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0) -
internal/s3select/json/preader_test.go
} } func BenchmarkPReader(b *testing.B) { files, err := os.ReadDir("testdata") if err != nil { b.Fatal(err) } for _, file := range files { b.Run(file.Name(), func(b *testing.B) { f, err := os.ReadFile(filepath.Join("testdata", file.Name())) if err != nil { b.Fatal(err) } b.SetBytes(int64(len(f))) b.ReportAllocs() b.ResetTimer() var record sql.Record for i := 0; i < b.N; i++ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 2.5K bytes - Viewed (0)