Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for writeFn (0.13 sec)

  1. cmd/storage-datatypes_gen.go

    func (z *CheckPartsResp) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 1
    	// write "r"
    	err = en.Append(0x81, 0xa1, 0x72)
    	if err != nil {
    		return
    	}
    	err = en.WriteArrayHeader(uint32(len(z.Results)))
    	if err != nil {
    		err = msgp.WrapError(err, "Results")
    		return
    	}
    	for za0001 := range z.Results {
    		err = en.WriteInt(z.Results[za0001])
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  2. okhttp-android/src/main/baseline-prof.txt

    HSPLokhttp3/internal/http2/Hpack$Reader;->readInt(II)I
    HSPLokhttp3/internal/http2/Hpack$Writer;-><init>(IZLokio/Buffer;I)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->evictToRecoverBytes(I)I
    HSPLokhttp3/internal/http2/Hpack$Writer;->insertIntoDynamicTable(Lokhttp3/internal/http2/Header;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeByteString(Lokio/ByteString;)V
    HSPLokhttp3/internal/http2/Hpack$Writer;->writeHeaders(Ljava/util/List;)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
  3. 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)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

              url = server.url("/"),
              body =
                object : ForwardingRequestBody(transferKind.newRequestBody("def")) {
                  override fun writeTo(sink: BufferedSink) {
                    sinkReference.set(sink)
                    super.writeTo(sink)
                  }
                },
            ),
          )
        assertThat(readAscii(response.body.byteStream(), Int.MAX_VALUE))
          .isEqualTo("abc")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallTest.kt

          override fun contentLength(): Long {
            return if (chunked) -1L else size
          }
    
          override fun writeTo(sink: BufferedSink) {
            var count = 0
            while (count < size) {
              sink.write(buffer, 0, Math.min(size - count, writeSize.toLong()).toInt())
              count += writeSize
            }
          }
        }
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

         * A queue of elements currently in the map, ordered by write time. Elements are added to the
         * tail of the queue on write.
         */
        @GuardedBy("this")
        final Queue<ReferenceEntry<K, V>> writeQueue;
    
        /**
         * A queue of elements currently in the map, ordered by access time. Elements are added to the
         * tail of the queue on access (note that writes count as accesses).
         */
        @GuardedBy("this")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    }
    
    // Tests sanity of attempting to copying each parts at offsets from an existing
    // file and create a new object. Also validates if the written is same as what we
    // expected.
    func TestAPICopyObjectPartHandlerSanity(t *testing.T) {
    	defer DetectTestLeak(t)()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    			Description: MetricDescription{
    				Namespace: minioNamespace,
    				Subsystem: "locks",
    				Name:      "write_total",
    				Help:      "Number of current WRITE locks on this peer",
    				Type:      gaugeMetric,
    			},
    			Value: float64(st.Writes),
    		})
    		metrics = append(metrics, MetricV2{
    			Description: MetricDescription{
    				Namespace: minioNamespace,
    				Subsystem: "locks",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<Object, Object>> writes = new ArrayList<>();
          Iterator<ReferenceEntry<Object, Object>> i = writeOrder.iterator();
          while (i.hasNext()) {
            ReferenceEntry<Object, Object> entry = i.next();
            if (random.nextBoolean()) {
              segment.recordWrite(entry, 1, map.ticker.read());
              writes.add(entry);
              i.remove();
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<Object, Object>> writes = new ArrayList<>();
          Iterator<ReferenceEntry<Object, Object>> i = writeOrder.iterator();
          while (i.hasNext()) {
            ReferenceEntry<Object, Object> entry = i.next();
            if (random.nextBoolean()) {
              segment.recordWrite(entry, 1, map.ticker.read());
              writes.add(entry);
              i.remove();
            }
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
Back to top