Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 177 for p256 (0.02 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

            protected void commandStyle(LineReader reader, AttributedStringBuilder sb, boolean enable) {
                if (enable) {
                    if (reader.getTerminal().getNumericCapability(InfoCmp.Capability.max_colors) >= 256) {
                        sb.style(AttributedStyle.DEFAULT.bold().foreground(69));
                    } else {
                        sb.style(AttributedStyle.DEFAULT.foreground(AttributedStyle.CYAN));
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/CharsTest.java

      }
    
      @GwtIncompatible // Chars.fromByteArray, Chars.toByteArray
      public void testByteArrayRoundTrips() {
        char c = 0;
        for (int hi = 0; hi < 256; hi++) {
          for (int lo = 0; lo < 256; lo++) {
            char result = Chars.fromByteArray(new byte[] {(byte) hi, (byte) lo});
            assertWithMessage(
                    String.format(
                        Locale.ROOT,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
      open fun isOneShot(): Boolean = false
    
      /**
       * Returns the SHA-256 hash of this [RequestBody]
       */
      @Throws(IOException::class)
      fun sha256(): ByteString {
        val hashingSink = HashingSink.sha256(blackholeSink())
        hashingSink.buffer().use {
          this.writeTo(it)
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/pac/PacMac.java

            case 23:
                ms_usage = 13;
            }
            return ms_usage;
        }
    
        /**
         * Calculates a MAC using HMAC-SHA1 with AES key derivation.
         * This method supports both AES-128 and AES-256 encryption types.
         *
         * @param usage the Kerberos key usage number for this operation
         * @param baseKey the base Kerberos key for key derivation
         * @param input the data to calculate the MAC for
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  5. cmd/erasure_test.go

    	{dataBlocks: 8, parityBlocks: 4, missingData: 2, missingParity: 2, reconstructParity: false, shouldFail: false},
    }
    
    func TestErasureEncodeDecode(t *testing.T) {
    	data := make([]byte, 256)
    	if _, err := io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Failed to read random data: %v", err)
    	}
    	for i, test := range erasureEncodeDecodeTests {
    		buffer := make([]byte, len(data), 2*len(data))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. internal/crypto/error.go

    	// MD5 checksum.
    	ErrMissingCustomerKeyMD5 = Errorf("The SSE-C request is missing the customer key MD5")
    
    	// ErrInvalidCustomerKey indicates that the SSE-C client key is not valid - e.g. not a
    	// base64-encoded string or not 256 bits long.
    	ErrInvalidCustomerKey = Errorf("The SSE-C client key is invalid")
    
    	// ErrSecretKeyMismatch indicates that the provided secret key (SSE-C client key / SSE-S3 KMS key)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. src/bytes/bytes.go

    		}
    	}
    	return -1
    }
    
    // asciiSet is a 256-byte lookup table for fast ASCII character membership testing.
    // Each element corresponds to an ASCII character value, with true indicating the
    // character is in the set. Using bool instead of byte allows the compiler to
    // eliminate the comparison instruction, as bool values are guaranteed to be 0 or 1.
    //
    // The full 256-element table is used rather than a 128-element table to avoid
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Mar 12 17:56:55 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testSaltWithAllByteValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512 };
                byte[] salt = new byte[256];
                for (int i = 0; i < 256; i++) {
                    salt[i] = (byte) i;
                }
    
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 34K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertTrue(bytes >= 0);
        }
    
        @Test
        @DisplayName("Test read operations")
        void testReadOperations() {
            byte[] buffer = new byte[256];
    
            // Test parameter words read
            int paramResult = transaction.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, paramResult);
    
            // Test bytes read
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java

        }
    
        private static void addViolation(
                SettingsProblemCollector problems, Severity severity, String fieldName, String sourceHint, String message) {
            StringBuilder buffer = new StringBuilder(256);
            buffer.append('\'').append(fieldName).append('\'');
    
            if (sourceHint != null) {
                buffer.append(" for ").append(sourceHint);
            }
    
            buffer.append(' ').append(message);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 10.6K bytes
    - Click Count (0)
Back to Top