Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 181 for readSize (0.06 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                commentLines.clear();
                valueLines.clear();
                StringBuilder buffer = new StringBuilder();
    
                while (true) {
                    String line = readLine();
                    if (line == null) {
                        // EOF
                        return null;
                    }
    
                    if (isCommentLine(line)) {
                        commentLines.add(line);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. cmd/erasure-decode_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	crand "crypto/rand"
    	"io"
    	"math/rand"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func (a badDisk) ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error) {
    	return 0, errFaultyDisk
    }
    
    var erasureDecodeTests = []struct {
    	dataBlocks                   int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. api/go1.19.txt

    pkg go/doc, func ToText //deprecated #51082
    pkg io/ioutil, func NopCloser //deprecated #42026
    pkg io/ioutil, func ReadAll //deprecated #42026
    pkg io/ioutil, func ReadDir //deprecated #42026
    pkg io/ioutil, func ReadFile //deprecated #42026
    pkg io/ioutil, func TempDir //deprecated #42026
    pkg io/ioutil, func TempFile //deprecated #42026
    pkg io/ioutil, func WriteFile //deprecated #42026
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  4. cmd/metacache-stream_test.go

    func loadMetacacheSample(t testing.TB) *metacacheReader {
    	b, err := os.ReadFile("testdata/metacache.s2")
    	if err != nil {
    		t.Fatal(err)
    	}
    	return newMetacacheReader(bytes.NewReader(b))
    }
    
    func loadMetacacheSampleEntries(t testing.TB) metaCacheEntriesSorted {
    	r := loadMetacacheSample(t)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 15K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FilesTest.java

        assertThrows(NullPointerException.class, () -> Files.newReader(null, UTF_8));
    
        BufferedReader r = Files.newReader(asciiFile, US_ASCII);
        try {
          assertEquals(ASCII, r.readLine());
        } finally {
          r.close();
        }
      }
    
      public void testNewWriter() throws IOException {
        File temp = createTempFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    func readAndMap(files []string, partNum, blockNum int) (*mappedData, error) {
    	var m mappedData
    	sort.Strings(files)
    	m.parityData = make(map[int]map[int][]byte)
    	for _, file := range files {
    		meta, err := os.ReadFile(file + ".json")
    		if err != nil {
    			return nil, err
    		}
    		type erasureInfo struct {
    			V2Obj *struct {
    				EcDist    []int
    				EcIndex   int
    				EcM       int
    				EcN       int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  7. cmd/batch-replicate_gen.go

    				err = msgp.WrapError(err, "OlderThan")
    				return
    			}
    		case "CreatedAfter":
    			z.CreatedAfter, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedAfter")
    				return
    			}
    		case "CreatedBefore":
    			z.CreatedBefore, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedBefore")
    				return
    			}
    		case "Tags":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         * fit comfortably within a single ethernet packet (1500 bytes) even with framing overhead.
         *
         * For tests this must be big enough to realize real compression on test messages like
         * 'aaaaaaaaaa...'. Our tests check if compression was applied just by looking at the size if
         * the inbound buffer.
         */
        const val DEFAULT_MINIMUM_DEFLATE_SIZE = 1024L
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v1_gen.go

    				return
    			}
    		case "as":
    			z.ActualSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ActualSize")
    				return
    			}
    		case "mt":
    			z.ModTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "i":
    			z.Index, err = dc.ReadBytes(z.Index)
    			if err != nil {
    				err = msgp.WrapError(err, "Index")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  10. cmd/erasure-healing_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		_, err := os.ReadFile(pathJoin(dir, "part.1"))
    		if err == nil {
    			t.Fatal("expected data dit to be cleaned up")
    		}
    	}
    
    	// Remove the bucket - to simulate the case where bucket was
    	// created when the disk was down.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
Back to top