Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 194 for p256 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

            }
    
            @Test
            @DisplayName("Should decode at different buffer offset")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[256];
                int offset = 100;
                byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720);
                System.arraycopy(responseData, 0, buffer, offset, responseData.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestParseNumeric(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want int64
    		ok   bool
    	}{
    		// Test base-256 (binary) encoded values.
    		{"", 0, true},
    		{"\x80", 0, true},
    		{"\x80\x00", 0, true},
    		{"\x80\x00\x00", 0, true},
    		{"\xbf", (1 << 6) - 1, true},
    		{"\xbf\xff", (1 << 14) - 1, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

        }
    
        // -------------------------------------------------------------------------------------------
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder(256);
            sb.append("[scope=").append(scope.getScope());
            if (classpath != null) {
                for (ArtifactMetadata md : classpath) {
                    sb.append(": ")
                            .append(md.toString())
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            byte[] buffer = new byte[34]; // 10 offset + 16 header + 8 data
            int bufferIndex = offset;
    
            // Set up test values
            int namedPipeState = 0x02;
            int readDataAvailable = 256;
            int numberOfMessages = 5;
            int messageLength = 128;
            byte[] testData = { (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC, (byte) 0xBB, (byte) 0xAA, (byte) 0x99, (byte) 0x88 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            byte[] blob = blobCred();
            SmbComSessionSetupAndX obj = new SmbComSessionSetupAndX(mockContext, mockNegotiate, mockAndX, blob);
            byte[] buf = new byte[256];
            int len = invokeProtectedInt(obj, "writeParameterWordsWireFormat", buf, 0);
    
            // Expected size: 2 (sendBuffer) + 2 (mpxCount) + 2 (vcNumber) + 4 (sessionKey) + 2 (blob length) + 4 (reserved) + 4 (capabilities)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            baos.write(0x60); // APPLICATION 0
    
            // Write length
            if (content.length < 128) {
                baos.write(content.length);
            } else if (content.length < 256) {
                baos.write(0x81); // length of length = 1
                baos.write(content.length);
            } else {
                baos.write(0x82); // length of length = 2
                baos.write((content.length >> 8) & 0xFF);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                outputBufferLengthField.setAccessible(true);
                outputBufferLengthField.set(request, 0x8000);
    
                // Create a buffer and write
                byte[] buffer = new byte[256];
                int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
                // Verify structure size (should be 41)
                assertEquals(41, SMBUtil.readInt2(buffer, 64));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              "maxIntermediateCas < 0: $maxIntermediateCas"
            }
            this.maxIntermediateCas = maxIntermediateCas
          }
    
        /**
         * Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of
         * security. ECDSA keys are noticeably faster than RSA keys.
         *
         * This is the default configuration and has been since this API was introduced in OkHttp
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-256 algorithm (256 hash bits). */
      public static HashFunction sha256() {
        return Sha256Holder.SHA_256;
      }
    
      private static final class Sha256Holder {
        static final HashFunction SHA_256 =
            new MessageDigestHashFunction("SHA-256", "Hashing.sha256()");
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/HexdumpTest.java

            assertEquals(2048, result.length()); // 1024 bytes * 2 chars
    
            // Test partial conversion
            String partial = Hexdump.toHexString(data, 512, 256);
            assertEquals(512, partial.length()); // 256 bytes * 2 chars
            assertTrue(partial.startsWith("00010203")); // 512 % 256 = 0, so starts at 0
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top