Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,503 for write2 (0.07 sec)

  1. cmd/data-usage-cache_gen.go

    // EncodeMsg implements msgp.Encodable
    func (z *dataUsageCache) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 2
    	// write "Info"
    	err = en.Append(0x82, 0xa4, 0x49, 0x6e, 0x66, 0x6f)
    	if err != nil {
    		return
    	}
    	err = z.Info.EncodeMsg(en)
    	if err != nil {
    		err = msgp.WrapError(err, "Info")
    		return
    	}
    	// write "Cache"
    	err = en.Append(0xa5, 0x43, 0x61, 0x63, 0x68, 0x65)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  2. api/go1.22.txt

    pkg archive/tar, method (*Writer) AddFS(fs.FS) error #58000
    pkg archive/zip, method (*Writer) AddFS(fs.FS) error #54898
    pkg cmp, func Or[$0 comparable](...$0) $0 #60204
    pkg crypto/x509, func OIDFromInts([]uint64) (OID, error) #60665
    pkg crypto/x509, method (*CertPool) AddCertWithConstraint(*Certificate, func([]*Certificate) error) #57178
    pkg crypto/x509, method (OID) Equal(OID) bool #60665
    pkg crypto/x509, method (OID) EqualASN1OID(asn1.ObjectIdentifier) bool #60665
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/ByteStreams.java

        }
    
        @Override
        public void write(int b) {
          try {
            output.write(b);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
          }
        }
    
        @Override
        public void write(byte[] b) {
          try {
            output.write(b);
          } catch (IOException impossible) {
            throw new AssertionError(impossible);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. cmd/metrics-v3-system-process.go

    	processIOWCharBytesMD             = NewCounterMD(processIOWCharBytes, "Total bytes written by the process to the underlying storage system including page cache, /proc/[pid]/io wchar")
    	processIOWriteBytesMD             = NewCounterMD(processIOWriteBytes, "Total bytes written by the process to the underlying storage system, /proc/[pid]/io write_bytes")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    				}
    			case testWriteTo:
    				f := &testFile{ops: tf.ops}
    				got, err := fr.WriteTo(f)
    				if _, ok := err.(testError); ok {
    					t.Errorf("test %d.%d, WriteTo(): %v", i, j, err)
    				} else if got != tf.wantCnt || err != tf.wantErr {
    					t.Errorf("test %d.%d, WriteTo() = (%d, %v), want (%d, %v)", i, j, got, err, tf.wantCnt, tf.wantErr)
    				}
    				if len(f.ops) > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops.go

    			h.QueuedBuckets = append(h.QueuedBuckets, b.Name)
    		}
    	}
    }
    
    func (h *healingTracker) printTo(writer io.Writer) {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	b, err := json.MarshalIndent(h, "", "  ")
    	if err != nil {
    		writer.Write([]byte(err.Error()))
    		return
    	}
    	writer.Write(b)
    }
    
    // toHealingDisk converts the information to madmin.HealingDisk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers_test.go

    	// its required to write the policies first before running tests on GetBucketPolicy.
    	for i, testPolicy := range putTestPolicies {
    		// obtain the put bucket policy request body.
    		bucketPolicyStr := fmt.Sprintf(bucketPolicyTemplate, testPolicy.bucketName, testPolicy.bucketName)
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV4 := httptest.NewRecorder()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

        }
    
        @Override
        public long copyTo(CharSink sink) throws IOException {
          checkNotNull(sink);
          Closer closer = Closer.create();
          try {
            Writer writer = closer.register(sink.openStream());
            writer.write((String) seq);
            return seq.length();
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    	return n, nil
    }
    
    func (f *testFile) Write(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 0 {
    		return 0, errors.New("unexpected Write operation")
    	}
    	s, ok := f.ops[0].(string)
    	if !ok {
    		return 0, errors.New("unexpected Write operation")
    	}
    
    	if !strings.HasPrefix(s, string(b)) {
    		return 0, testError{fmt.Errorf("got Write(%q), want Write(%q)", b, s)}
    	}
    	if len(s) > len(b) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    			bugLogIf(ctx, err)
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    
    		// Write a version for making *incompatible* changes.
    		// The AdminClient will reject any version it does not know.
    		if publicKey == nil {
    			w.Write([]byte{1})
    			w.Write(key[:])
    		}
    
    		stream, err := sio.AES_256_GCM.Stream(key[:])
    		if err != nil {
    			bugLogIf(ctx, err)
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top