Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 558 for 2048 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            void testLargeBufferEncode() {
                byte[] largeName = new byte[1024];
                Arrays.fill(largeName, (byte) 'X');
                byte[] largeData = new byte[2048];
                Arrays.fill(largeData, (byte) 'Y');
    
                TestCreateContextRequest request = new TestCreateContextRequest(largeName, largeData);
    
                byte[] buffer = new byte[8192];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[13] = 0x08; // free = 2048
                buffer[16] = 0x00;
                buffer[17] = 0x02; // bytesPerSect = 512
    
                int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(20, bytesDecoded);
                assertEquals(8L * 4096L * 512L, smbInfoAllocation.getCapacity());
                assertEquals(8L * 2048L * 512L, smbInfoAllocation.getFree());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            String longDomain = "A".repeat(256); // Very long domain name
            netServerEnum2 = new NetServerEnum2(realConfig, longDomain, NetServerEnum2.SV_TYPE_ALL);
    
            byte[] dst = new byte[2048];
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, 0);
    
            assertTrue(bytesWritten > 0);
    
            // Verify domain is written (uppercase)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    func BenchmarkInitStorageDisksMax(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 32*204)
    }
    
    func benchmarkInitStorageDisksN(b *testing.B, nDisks int) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            }
        }
    
        @Test
        @DisplayName("Should create transform header with constructor")
        void testConstructorWithParameters() {
            // Given
            int messageSize = 2048;
            int flags = 0x0002;
    
            // When
            Smb2TransformHeader header = new Smb2TransformHeader(testNonce, messageSize, flags, testSessionId);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            Smb2SessionSetupRequest req =
                    new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, token);
            byte[] buffer = new byte[2048];
    
            // When
            req.encode(buffer, 0);
    
            // Then
            int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH;
    
            // Verify token length
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            String longPath = "very\\long\\path\\to\\some\\deeply\\nested\\file\\in\\directory\\structure.txt";
            request = new Smb2CreateRequest(mockConfig, longPath);
    
            byte[] buffer = new byte[2048];
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            assertTrue(bytesWritten > 0);
    
            // Verify name length field at offset 46 (after 44 bytes of fixed fields + 2 for name offset)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg syscall (netbsd-386), const CLONE_PID ideal-int
    pkg syscall (netbsd-386), const CLONE_PTRACE = 8192
    pkg syscall (netbsd-386), const CLONE_PTRACE ideal-int
    pkg syscall (netbsd-386), const CLONE_SIGHAND = 2048
    pkg syscall (netbsd-386), const CLONE_SIGHAND ideal-int
    pkg syscall (netbsd-386), const CLONE_VFORK = 16384
    pkg syscall (netbsd-386), const CLONE_VFORK ideal-int
    pkg syscall (netbsd-386), const CLONE_VM = 256
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jun 02 02:45:00 UTC 2014
    - 117K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/Utf8Test.java

          (long) Math.pow(EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT, 2)
              +
              // The possible number of two byte characters
              TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            assertTrue(result.contains("lastWriteTime="));
            assertTrue(result.contains("changeTime="));
            assertTrue(result.contains("endOfFile=1024"));
            assertTrue(result.contains("allocationSize=2048"));
            assertTrue(result.contains("extFileAttributes=32"));
            assertTrue(result.contains("eaSize=512"));
            assertTrue(result.contains("shortName=TOSTRI~1.TXT"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
Back to top