Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 130 for 512m (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should read valid single notification from wire format")
        void testReadSingleNotification() throws Exception {
            // Given
            byte[] buffer = new byte[512];
            int offset = 0;
    
            // Set header start position for the response
            setHeaderStart(response, 64);
    
            // Write structure header (9 bytes)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/Hashing.java

      }
    
      /** Returns a hash function implementing the SHA-512 algorithm (512 hash bits). */
      public static HashFunction sha512() {
        return Sha512Holder.SHA_512;
      }
    
      private static final class Sha512Holder {
        static final HashFunction SHA_512 =
            new MessageDigestHashFunction("SHA-512", "Hashing.sha512()");
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 29.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

              .put("sHa-1", sha1()) // Not the official name, but still works
              .put("SHA-1", sha1())
              .put("SHA-256", sha256())
              .put("SHA-384", sha384())
              .put("SHA-512", sha512())
              .build();
    
      public void testHashing() throws Exception {
        for (String stringToTest : INPUTS) {
          for (String algorithmToTest : ALGORITHMS.keySet()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                optList.sort(new OptionComparator());
                return optList;
            }
        }
    
        String getOptionsAsHtml() {
            StringBuilder sb = new StringBuilder(512);
            boolean odd = true;
            sb.append(
                    "<table border='1' class='zebra-striped'><tr class='a'><th><b>Options</b></th><th><b>Description</b></th></tr>");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/asm/testdata/mips64.s

    // MSA VMOVI
    	VMOVB	$511, W0   // 7b0ff807
    	VMOVH	$24, W23   // 7b20c5c7
    	VMOVW	$-24, W15  // 7b5f43c7
    	VMOVD	$-511, W31 // 7b700fc7
    
    	VMOVB	(R0), W8       // 78000220
    	VMOVB	511(R3), W0    // 79ff1820
    	VMOVB	-512(R12), W21 // 7a006560
    	VMOVH	(R24), W12     // 7800c321
    	VMOVH	110(R19), W8   // 78379a21
    	VMOVH	-70(R12), W3   // 7bdd60e1
    	VMOVW	(R3), W31      // 78001fe2
    	VMOVW	64(R20), W16   // 7810a422
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            // Test decode method
            byte[] buffer = new byte[512];
            int bufferIndex = 0;
            int expectedDecodeLength = 128;
            when(response.decode(buffer, bufferIndex)).thenReturn(expectedDecodeLength);
            assertEquals(expectedDecodeLength, response.decode(buffer, bufferIndex));
    
            // Test encode method
            byte[] dst = new byte[512];
            int dstIndex = 0;
            int expectedEncodeLength = 64;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  7. 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
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

        void testGetSize() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[22];
            long expectedAllocationSize = 1024L;
            long expectedEndOfFile = 512L;
            int expectedNumberOfLinks = 3;
            boolean expectedDeletePending = true;
            boolean expectedDirectory = false;
    
            // Encode test data
            int offset = 0;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SIDTest.java

                // Build a group SID with domain name and RID 512
                SID group = new SID(buildSidT((byte) 1, ident, 10, 20, 512), jcifs.SID.SID_TYPE_DOM_GRP, "DOM", "Domain Admins", false);
    
                jcifs.SID member = new SID("S-1-5-21-1000");
                jcifs.SID[] expected = new jcifs.SID[] { member };
                when(mockResolver.getGroupMemberSids(eq(mockCtx), eq("srv"), any(jcifs.SID.class), eq(512), eq(123))).thenReturn(expected);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

        /**
         * Context type
         */
        public static final int NEGO_CTX_PREAUTH_TYPE = 0x1;
    
        /**
         * SHA-512
         */
        public static final int HASH_ALGO_SHA512 = 0x1;
    
        private int[] hashAlgos;
        private byte[] salt;
    
        /**
         * Constructs a preauth integrity negotiate context with the specified parameters.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top