Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,576 for sample (1.53 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Verify a sample of encrypted messages can be decrypted (to avoid extensive decryption that might fail)
            int sampleSize = Math.min(5, encrypted.size());
            for (int i = 0; i < sampleSize; i++) {
                try {
                    byte[] decrypted = context.decryptMessage(encrypted.get(i));
                    assertArrayEquals(messages.get(i).getBytes(), decrypted, "Sample message " + i + " should decrypt correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/PairedStatsAccumulator.java

        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

        address[b++] = (value.ushr(8) and 0xff).toByte()
        address[b++] = (value and 0xff).toByte()
      }
    
      // All done. If compression happened, we need to move bytes to the right place in the
      // address. Here's a sample:
      //
      //      input: "1111:2222:3333::7777:8888"
      //     before: { 11, 11, 22, 22, 33, 33, 00, 00, 77, 77, 88, 88, 00, 00, 00, 00  }
      //   compress: 6
      //          b: 10
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * is desired.
     *
     * <table border="1">
     * <caption>SmbNamedPipe Constructor Examples</caption>
     * <tr>
     * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td>
     * <tr><td ><b>Code Sample</b></td><td><b>Description</b></td></tr>
     * <tr><td ><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
     *         SmbNamedPipe.PIPE_TYPE_RDWR |
     *         SmbNamedPipe.PIPE_TYPE_CALL );
     * </pre></td><td>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmSspTest.java

            // Setup: No "Authorization" header to follow a simple path
            when(mockRequest.getHeader("Authorization")).thenReturn(null);
    
            // Execute
            NtlmPasswordAuthentication result = ntlmSsp.doAuthentication(mockCifsContext, mockRequest, mockResponse, challenge);
    
            // Verify that the behavior is the same as calling the static method directly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            }
    
            @Test
            @DisplayName("Should decode buffer correctly")
            void testDecode() throws SMBProtocolDecodingException {
                // Prepare test buffer with sample data
                byte[] buffer = new byte[24];
                // Skip idFileSystem (4 bytes)
                buffer[4] = 0x08; // sectPerAlloc = 8
                buffer[8] = 0x00;
                buffer[9] = 0x10; // alloc = 4096
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/PairedStats.java

        checkState(count() != 0);
        return sumOfProductsOfDeltas / count();
      }
    
      /**
       * Returns the sample covariance of the values. The count must be greater than one.
       *
       * <p>This is not guaranteed to return zero when the dataset consists of the same pair of values
       * multiple times, due to numerical errors.
       *
       * <h3>Non-finite values</h3>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    	if err != nil {
    		t.Fatalf("os.Stat:1 %v", err)
    	}
    	hdr.Typeflag = TypeDir
    	// Force a PAX long name to be written. The name was taken from a practical example
    	// that fails and replaced ever char through numbers to anonymize the sample.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  9. cmd/erasure-metadata_test.go

    		parities []int
    		parity   int
    	}{
    		// More than simple majority consensus
    		mkTest(15, 3, 11),
    		// No simple majority consensus
    		mkTest(15, 3, 7),
    		// Exact simple majority consensus
    		mkTest(15, 3, 8),
    		// More than simple majority consensus
    		mkTest(16, 4, 11),
    		// No simple majority consensus
    		mkTest(16, 4, 8),
    		// Exact simple majority consensus
    		mkTest(16, 4, 9),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    }
    
    func testGetBucketLocationHandler(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	credentials auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    	testCases := []struct {
    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 39.8K bytes
    - Viewed (0)
Back to top