- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 181 for readSize (0.07 sec)
-
istioctl/pkg/writer/envoy/configdump/ecds_test.go
cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/ecds/configdump.json") cw.Prime(cd) err := cw.PrintEcdsSummary() assert.NoError(t, err) util.CompareContent(t, gotOut.Bytes(), "testdata/ecds/output.txt") } func TestPrintEcdsYaml(t *testing.T) { gotOut := &bytes.Buffer{} cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile("testdata/ecds/configdump.json") cw.Prime(cd)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Dec 13 01:08:07 UTC 2022 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
bufferIndex += 4; this.creationTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
return reader.readLine(); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } /** * Reads all the lines of this source as a list of strings. The returned list will be empty if * this source is empty. * * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
internal/config/certs.go
// decrypted using the ENV_VAR: MINIO_CERT_PASSWD. func LoadX509KeyPair(certFile, keyFile string) (tls.Certificate, error) { certPEMBlock, err := os.ReadFile(certFile) if err != nil { return tls.Certificate{}, ErrTLSReadError(nil).Msgf("Unable to read the public key: %s", err) } keyPEMBlock, err := os.ReadFile(keyFile) if err != nil { return tls.Certificate{}, ErrTLSReadError(nil).Msgf("Unable to read the private key: %s", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
bufferIndex += 4; this.creationTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
bufferIndex += 4; this.creationTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.lastWriteTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; this.changeTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/configdump_test.go
inputFile: "", wantConfigs: 0, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cw := &ConfigWriter{} cd, _ := os.ReadFile(tt.inputFile) err := cw.Prime(cd) if cw.configDump == nil { if tt.wantConfigs != 0 { t.Errorf("wanted some configs loaded but config dump was nil") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 03 23:08:06 UTC 2024 - 3.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator_test.go
func TestComparatorMismatchedConfigs(t *testing.T) { cfg, err := os.ReadFile("testdata/configdump.json") if err != nil { t.Fatalf("Failed to read test data: %v", err) } diffCfg, err := os.ReadFile("testdata/configdump_diff.json") if err != nil { t.Fatalf("Failed to read test data: %v", err) } var outputBuffer bytes.Buffer
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
e.fileIndex = readInt4( buffer, bufferIndex + 4 ); e.creationTime = readTime( buffer, bufferIndex + 8 ); // e.lastAccessTime = readTime( buffer, bufferIndex + 16 ); e.lastWriteTime = readTime( buffer, bufferIndex + 24 ); // e.changeTime = readTime( buffer, bufferIndex + 32 ); e.endOfFile = readInt8( buffer, bufferIndex + 40 );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8.5K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} else { caFile := model.GetOrDefault(cfg.KubeCAFile, cfg.K8sServiceAccountPath+"/ca.crt") caContents, err := os.ReadFile(caFile) if err != nil { return kubeconfig{}, err } cluster.CertificateAuthorityData = caContents } token, err := os.ReadFile(cfg.K8sServiceAccountPath + "/token") if err != nil { return kubeconfig{}, err } const contextName = "istio-cni-context"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0)