Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Rc (0.02 sec)

  1. cmd/bitrot-streaming.go

    	disk       StorageAPI
    	data       []byte
    	rc         io.Reader
    	volume     string
    	filePath   string
    	tillOffset int64
    	currOffset int64
    	h          hash.Hash
    	shardSize  int64
    	hashBytes  []byte
    }
    
    func (b *streamingBitrotReader) Close() error {
    	if b.rc == nil {
    		return nil
    	}
    	if closer, ok := b.rc.(io.Closer); ok {
    		// drain the body for connection reuse at network layer.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 12:20:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java

            assertOrder(X_EQ_Y, "1.milestone", "1.MILESTONE");
            assertOrder(X_EQ_Y, "1.milestone", "1.Milestone");
    
            assertOrder(X_EQ_Y, "1.rc", "1.RC");
            assertOrder(X_EQ_Y, "1.rc", "1.Rc");
            assertOrder(X_EQ_Y, "1.cr", "1.CR");
            assertOrder(X_EQ_Y, "1.cr", "1.Cr");
    
            assertOrder(X_EQ_Y, "1.snapshot", "1.SNAPSHOT");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. cmd/untar.go

    		if header.ModTime.UnixNano() <= 0 {
    			header.ModTime = time.Now()
    		}
    
    		// Sync upload.
    		rc := disconnectReader{r: tarReader}
    		if err := putObject(&rc, header.FileInfo(), name); err != nil {
    			rc.Close()
    			if o.ignoreErrs {
    				s3LogIf(ctx, err)
    				continue
    			}
    			return err
    		}
    		rc.Close()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (2)
  4. internal/s3select/json/reader.go

    // reads are running.
    type syncReadCloser struct {
    	rc io.ReadCloser
    	mu sync.Mutex
    }
    
    func (pr *syncReadCloser) Read(p []byte) (n int, err error) {
    	// This ensures that Close will block until Read has completed.
    	// This allows another goroutine to close the reader.
    	pr.mu.Lock()
    	defer pr.mu.Unlock()
    	if pr.rc == nil {
    		return 0, io.EOF
    	}
    	return pr.rc.Read(p)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. cmd/mrf.go

    		r.Close()
    		if err == nil {
    			break
    		}
    	}
    }
    
    func (m *mrfState) startMRFPersistence() {
    	loadMRF := func(rc io.ReadCloser, opCh chan PartialOperation) error {
    		defer rc.Close()
    		var data [4]byte
    		n, err := rc.Read(data[:])
    		if err != nil {
    			return err
    		}
    		if n != len(data) {
    			return errors.New("heal mrf: no data")
    		}
    		// Read resync meta header
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair.go

    	client, err := clientSetup()
    	if err != nil {
    		repairLog.Fatalf("CNI repair could not construct clientSet: %s", err)
    	}
    
    	rc, err := NewRepairController(client, cfg)
    	if err != nil {
    		repairLog.Fatalf("Fatal error constructing repair controller: %+v", err)
    	}
    	go rc.Run(ctx.Done())
    	client.RunAndWait(ctx.Done())
    }
    
    // Set up Kubernetes client using kubeconfig (or in-cluster config if no file provided)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 28 19:12:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. internal/s3select/progress.go

    	if pr.closer != nil {
    		pr.closer.Close()
    	}
    	return pr.rc.Close()
    }
    
    func (pr *progressReader) Stats() (bytesScanned, bytesProcessed int64) {
    	if pr == nil {
    		return 0, 0
    	}
    	return pr.scannedReader.BytesRead(), pr.processedReader.BytesRead()
    }
    
    func newProgressReader(rc io.ReadCloser, compType CompressionType) (*progressReader, error) {
    	if rc == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.29.md

        - [Removed](#removed-10)
    - [v1.29.0-rc.2](#v1290-rc2)
      - [Downloads for v1.29.0-rc.2](#downloads-for-v1290-rc2)
        - [Source Code](#source-code-11)
        - [Client Binaries](#client-binaries-11)
        - [Server Binaries](#server-binaries-11)
        - [Node Binaries](#node-binaries-11)
        - [Container Images](#container-images-11)
      - [Changelog since v1.29.0-rc.1](#changelog-since-v1290-rc1)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  9. src/archive/zip/reader.go

    	if dcomp == nil {
    		return nil, ErrAlgorithm
    	}
    	var rc io.ReadCloser = dcomp(r)
    	var desr io.Reader
    	if f.hasDataDescriptor() {
    		desr = io.NewSectionReader(f.zipr, f.headerOffset+bodyOffset+size, dataDescriptorLen)
    	}
    	rc = &checksumReader{
    		rc:   rc,
    		hash: crc32.NewIEEE(),
    		f:    f,
    		desr: desr,
    	}
    	return rc, nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        private static final String[] VERSIONS_QUALIFIER = {
            "1-alpha2snapshot",
            "1-alpha2",
            "1-alpha-123",
            "1-beta-2",
            "1-beta123",
            "1-m2",
            "1-m11",
            "1-rc",
            "1-cr2",
            "1-rc123",
            "1-SNAPSHOT",
            "1",
            "1-sp",
            "1-sp2",
            "1-sp123",
            "1-abc",
            "1-def",
            "1-pom-1",
            "1-1-snapshot",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top