Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1081 - 1090 of 1,634 for byteEq (0.08 sec)

  1. cmd/os-readdir_test.go

    	if _, err := readDir("/tmp/non-existent-directory"); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	file := path.Join(os.TempDir(), "issue")
    	if err := os.WriteFile(file, []byte(""), 0o644); err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(file)
    
    	// Check if file is given.
    	if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  2. cmd/erasure-encode.go

    func (e *Erasure) Encode(ctx context.Context, src io.Reader, writers []io.Writer, buf []byte, quorum int) (total int64, err error) {
    	writer := &multiWriter{
    		writers:     writers,
    		writeQuorum: quorum,
    		errs:        make([]error, len(writers)),
    	}
    
    	for {
    		var blocks [][]byte
    		n, err := io.ReadFull(src, buf)
    		if err != nil {
    			if !IsErrIgnored(err, []error{
    				io.EOF,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. internal/s3select/progress.go

    	reader    io.Reader
    	bytesRead int64
    }
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func (r *countUpReader) Read(p []byte) (n int, err error) {
    	n, err = r.reader.Read(p)
    	atomic.AddInt64(&r.bytesRead, int64(n))
    	return n, err
    }
    
    func (r *countUpReader) BytesRead() int64 {
    	if r == nil {
    		return 0
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. manifests/addons/dashboards/pilot-dashboard.gen.json

                "defaults": {
                   "custom": {
                      "fillOpacity": 10,
                      "gradientMode": "hue",
                      "showPoints": "never"
                   },
                   "unit": "bytes"
                }
             },
             "gridPos": {
                "h": 10,
                "w": 6,
                "x": 0,
                "y": 2
             },
             "id": 4,
             "interval": "5s",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/transport/Message.java

         */
        boolean isRetainPayload ();
    
    
        /**
         * 
         * @return the raw response message
         */
        byte[] getRawPayload ();
    
    
        /**
         * @param rawPayload
         */
        void setRawPayload ( byte[] rawPayload );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-free-version_test.go

    	// Test if free version is created when SkipTier wasn't set on fi
    	j := xlMetaV2Object{}
    	j.MetaSys = make(map[string][]byte)
    	j.MetaSys[metaTierName] = []byte("WARM-1")
    	j.MetaSys[metaTierStatus] = []byte(lifecycle.TransitionComplete)
    	j.MetaSys[metaTierObjName] = []byte("obj-1")
    	if _, ok := j.InitFreeVersion(fi); !ok {
    		t.Fatal("Expected a free version to be created")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

            this.sourceOffset = soff;
            this.targetOffset = toff;
            this.length = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  8. api/go1.7.txt

    pkg bytes, func ContainsAny([]uint8, string) bool
    pkg bytes, func ContainsRune([]uint8, int32) bool
    pkg bytes, method (*Reader) Reset([]uint8)
    pkg compress/flate, const HuffmanOnly = -2
    pkg compress/flate, const HuffmanOnly ideal-int
    pkg context, func Background() Context
    pkg context, func TODO() Context
    pkg context, func WithCancel(Context) (Context, CancelFunc)
    pkg context, func WithDeadline(Context, time.Time) (Context, CancelFunc)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 28 15:08:11 UTC 2016
    - 13.6K bytes
    - Viewed (0)
  9. internal/disk/stat_bsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

            helper
                .add(SHORT_NAME, false)
                .add(LONG_NAME, false)
                .addValue(true)
                .add(SHORT_NAME, (byte) 1)
                .add(LONG_NAME, (byte) 2)
                .addValue((byte) 3)
                .add(SHORT_NAME, 'A')
                .add(LONG_NAME, 'B')
                .addValue('C')
                .add(SHORT_NAME, (short) 4)
                .add(LONG_NAME, (short) 5)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top