Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 425 for Primes (0.05 sec)

  1. src/main/java/org/codelibs/core/nio/ChannelUtil.java

            try {
                return channel.read(buffer, position);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Writes the contents of the byte buffer to the file channel.
         *
         * @param channel
         *            The file channel. Must not be {@literal null}.
         * @param buffer
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(SMB_COM_WRITE, write.command, "Command should be SMB_COM_WRITE");
        }
    
        /**
         * Test writeParameterWordsWireFormat writes correct bytes
         */
        @Test
        public void testWriteParameterWordsWireFormat() {
            // Arrange
            SmbComWrite write = new SmbComWrite();
            write.setParam(0x1234, 0x5678L, 100, new byte[10], 0, 10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaStatistics.java

         *
         * @return average write latency
         */
        public double getAverageWriteLatencyMicros() {
            long writes = rdmaWrites.get();
            if (writes == 0) {
                return 0.0;
            }
            return totalWriteTime.get() / (double) writes / 1000.0; // Convert to microseconds
        }
    
        /**
         * Calculate average send latency in microseconds
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

            assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readSecurityBuffer(a, 0));
        }
    
        // ---------------- Static write tests -----------------
        @Test
        @DisplayName("writeULong writes little endian bytes")
        void testWriteULong() {
            byte[] dest = new byte[4];
            NtlmMessage.writeULong(dest, 0, 0x01020304);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val showHeaders: Boolean by option("-i", "--include").help("Include protocol headers in the output").flag()
    
      val showHttp2Frames: Boolean by option("--frames").help("Log HTTP/2 frames to STDERR").flag()
    
      val referer: String? by option("-e", "--referer").help("Referer URL")
    
      val verbose: Boolean by option("-v", "--verbose").help("Makes $NAME verbose during the operation").flag()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

      }
    
      @Test
      fun clientCloseCancelsConnectionAfterTimeout() {
        client.webSocket!!.close(1000, "Hello!")
        taskFaker.runTasks()
        // Note: we don't process server frames so our client 'close' doesn't receive a server 'close'.
        assertThat(client.canceled).isFalse()
    
        taskFaker.advanceUntil(ns(RealWebSocket.CANCEL_AFTER_CLOSE_MILLIS - 1))
        assertThat(client.canceled).isFalse()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  7. cmd/peer-s3-client.go

    		SetCount: -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}
    
    	for i, err := range errs {
    		if err == nil {
    			res.Before.Drives = append(res.Before.Drives, healBucketResults[i].Before.Drives...)
    			res.After.Drives = append(res.After.Drives, healBucketResults[i].After.Drives...)
    		}
    	}
    
    	return res, nil
    }
    
    // ListBuckets lists buckets across all nodes and returns a consistent view:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    // buffering writes to a network socket, excessive network writes should be
    // avoided.
    func TestWriterReadFromCounts(t *testing.T) {
    	var w0 writeCountingDiscard
    	b0 := NewWriterSize(&w0, 1234)
    	b0.WriteString(strings.Repeat("x", 1000))
    	if w0 != 0 {
    		t.Fatalf("write 1000 'x's: got %d writes, want 0", w0)
    	}
    	b0.WriteString(strings.Repeat("x", 200))
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  9. cmd/testdata/config/2.yaml

    version: v1
    address: ':9000'
    console-address: ':9001'
    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server1-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 869 bytes
    - Viewed (0)
  10. cmd/testdata/config/1.yaml

    version: v1
    address: ':9000'
    console-address: ':9001'
    certs-dir: '/home/user/.minio/certs/'
    pools: # Specify the nodes and drives with pools
      -
            - 'https://server-example-pool1:9000/mnt/disk{1...4}/'
            - 'https://server{1...2}-pool1:9000/mnt/disk{1...4}/'
            - 'https://server3-pool1:9000/mnt/disk{1...4}/'
            - 'https://server4-pool1:9000/mnt/disk{1...4}/'
      -
            - 'https://server-example-pool2:9000/mnt/disk{1...4}/'
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Dec 07 09:33:56 UTC 2023
    - 881 bytes
    - Viewed (0)
Back to top