Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 107 for Sendfile (0.16 sec)

  1. api/go1.16.txt

    pkg io/fs, type ReadDirFile interface, Stat() (FileInfo, error)
    pkg io/fs, type ReadFileFS interface { Open, ReadFile }
    pkg io/fs, type ReadFileFS interface, Open(string) (File, error)
    pkg io/fs, type ReadFileFS interface, ReadFile(string) ([]uint8, error)
    pkg io/fs, type StatFS interface { Open, Stat }
    pkg io/fs, type StatFS interface, Open(string) (File, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/bitrot-whole.go

    	tillOffset int64           // Affects the length of data requested in disk.ReadFile depending on Read()'s offset
    	buf        []byte          // Holds bit-rot verified data
    }
    
    func (b *wholeBitrotReader) ReadAt(buf []byte, offset int64) (n int, err error) {
    	if b.buf == nil {
    		b.buf = make([]byte, b.tillOffset-offset)
    		if _, err := b.disk.ReadFile(context.TODO(), b.volume, b.filePath, offset, b.buf, b.verifier); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. docs/en/docs/img/deployment/https/https07.drawio

                    </mxCell>
                    <mxCell id="90" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;startArrow=none;startFill=0;endArrow=classic;endFill=1;strokeWidth=3;" parent="1" source="101" target="32" edge="1">
                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="390" y="-190" as="sourcePoint"/>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/img/deployment/https/https03.drawio

                    </mxCell>
                    <mxCell id="90" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;startArrow=none;startFill=0;endArrow=classic;endFill=1;strokeWidth=3;" parent="1" source="101" target="32" edge="1">
                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="390" y="-190" as="sourcePoint"/>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  8. docs/en/docs/img/deployment/https/https.drawio

                    </mxCell>
                    <mxCell id="90" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;startArrow=none;startFill=0;endArrow=classic;endFill=1;strokeWidth=3;" edge="1" parent="1" source="101" target="32">
                        <mxGeometry relative="1" as="geometry">
                            <mxPoint x="390" y="-190" as="sourcePoint"/>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 12 00:06:16 UTC 2022
    - 25.7K bytes
    - Viewed (1)
  9. internal/store/queuestore.go

    	defer func(store *QueueStore[I]) {
    		store.RUnlock()
    		if err != nil && !os.IsNotExist(err) {
    			// Upon error we remove the entry.
    			store.Del(key)
    		}
    	}(store)
    
    	raw, err = os.ReadFile(filepath.Join(store.directory, key.String()))
    	if err != nil {
    		return
    	}
    
    	if len(raw) == 0 {
    		return raw, os.ErrNotExist
    	}
    
    	return
    }
    
    // Get - gets an item from the store.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. cni/pkg/install/cniconfig_test.go

    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			istioConf := testutils.ReadFile(t, filepath.Join("testdata", c.newConfFilename))
    			existingConfFilepath := filepath.Join("testdata", c.existingConfFilename)
    			existingConf := testutils.ReadFile(t, existingConfFilepath)
    
    			output, err := insertCNIConfig(istioConf, existingConf)
    			if err != nil {
    				if !c.expectedFailure {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 18:38:14 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top