Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 928 for out1 (0.08 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java

        byte[] data = newPreFilledByteArray(100);
        FileBackedOutputStream out = new FileBackedOutputStream(0, true);
    
        write(out, data, 0, 100, true);
        File file = out.getFile();
        assertEquals(100, file.length());
        assertTrue(file.exists());
        out.close();
    
        // Make sure that finalize deletes the file
        out = null;
    
        // times out and throws RuntimeException on failure
        GcFinalization.awaitDone(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. docs/features/events.md

    Request request = new Request.Builder()
        .url("https://publicobject.com/helloworld.txt")
        .build();
    
    System.out.println("REQUEST 1 (new connection)");
    try (Response response = client.newCall(request).execute()) {
      // Consume and discard the response body.
      response.body().source().readByteString();
    }
    
    System.out.println("REQUEST 2 (pooled connection)");
    try (Response response = client.newCall(request).execute()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CountingOutputStream.java

       *
       * @param out the output stream to be wrapped
       */
      public CountingOutputStream(OutputStream out) {
        super(checkNotNull(out));
      }
    
      /** Returns the number of bytes written. */
      public long getCount() {
        return count;
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        out.write(b, off, len);
        count += len;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/iam/access-manager-plugin.go

    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    	var out bytes.Buffer
    	json.Indent(&out, body, "", "  ")
    	fmt.Printf("Received JSON payload:\n%s\n", out.String())
    
    	reqMap := make(map[string]interface{})
    	err = json.Unmarshal(body, &reqMap)
    	if err != nil {
    		writeErrorResponse(w, err)
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                            out.setAddress(request.addr);
                            out.setLength(request.writeWireFormat(snd_buf, 0));
                            response.received = false;
    
                            responseTable.put(nid, response);
                            ensureOpen(timeout + 1000);
                            socket.send(out);
    
                            if (LogStream.level > 3) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get();
    
            System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(),
                    overallTimeMs);
            System.out.printf("  Avg allocation time: %.2f ns%n", avgAllocTimeNs);
            System.out.printf("  Avg release time: %.2f ns%n", avgReleaseTimeNs);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/loong64error.s

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    TEXT errors(SB),$0
    	VSHUF4IV	$16, V1, V2	// ERROR "operand out of range 0 to 15"
    	XVSHUF4IV	$16, X1, X2	// ERROR "operand out of range 0 to 15"
    	ADDV16		$1, R4, R5	// ERROR "the constant must be a multiple of 65536."
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Sep 04 19:24:25 UTC 2025
    - 454 bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
            out[i++] = 0x01; // TOK_ID[1]
            out[i++] = (byte) ((der.length >> 8) & 0xFF);
            out[i++] = (byte) (der.length & 0xFF);
            System.arraycopy(der, 0, out, i, der.length);
            i += der.length;
            out[i++] = (byte) ((nb.length >> 24) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            // Prepare 3 ints: chunksWritten=1, chunkBytesWritten=2, totalBytesWritten=3
            byte[] out = new byte[12];
            SMBUtil.writeInt4(1, out, 0);
            SMBUtil.writeInt4(2, out, 4);
            SMBUtil.writeInt4(3, out, 8);
    
            byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK, new byte[16], 0, null, out.length, out, 0x1234);
            byte[] packet = new byte[header.length + body.length];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String&gt; indexed : indexed(iterable(reader))) {
     *     System.out.println(indexed.getIndex());
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top