Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 91 for 512 (0.01 sec)

  1. cmd/metrics-resource.go

    func updateDriveIOStats(currentStats madmin.DiskIOStats, latestStats madmin.DiskIOStats, labels map[string]string) {
    	sectorSize := uint64(512)
    	kib := float64(1 << 10)
    	diffInSeconds := time.Now().UTC().Sub(lastDriveStatsRefresh).Seconds()
    	if diffInSeconds == 0 {
    		// too soon to update the stats
    		return
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

        assertHashBytesThrowsCorrectExceptions(hashFunction);
        assertIndependentHashers(hashFunction);
        assertShortcutsAreEquivalent(hashFunction, 512);
      }
    
      static void assertHashByteBufferInvariants(HashFunction hashFunction) {
        assertHashByteBufferMatchesBytes(hashFunction);
        assertHashByteBufferExhaustsBuffer(hashFunction);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        }
    
        @Test
        @DisplayName("Test writeParameterWordsWireFormat with large buffer offset")
        void testWriteParameterWordsWireFormatLargeOffset() {
            byte[] dst = new byte[512];
            int startOffset = 100;
    
            // Set up transaction parameters
            transaction.setMaxSetupCount((byte) 3);
            transaction.setTotalParameterCount(500);
            transaction.setTotalDataCount(1000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

            super(config, command);
            this.subCommand = subCommand;
            this.maxDataCount = config.getTransactionBufferSize() - 512;
            this.maxParameterCount = 1024;
            this.primarySetupOffset = PRIMARY_SETUP_OFFSET;
            this.secondaryParameterOffset = SECONDARY_PARAMETER_OFFSET;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/ReferralTest.java

     */
    public class ReferralTest {
    
        private Referral referral;
        private byte[] testBuffer;
    
        @BeforeEach
        public void setUp() {
            referral = new Referral();
            testBuffer = new byte[512];
        }
    
        // Version 3 Referral Tests
    
        @Test
        public void testDecodeVersion3WithoutNameList() {
            // Prepare test data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt8(testTime + 2000, buffer, 24);
                SMBUtil.writeInt8(testTime + 3000, buffer, 32);
                SMBUtil.writeInt8(1024, buffer, 40);
                SMBUtil.writeInt8(512, buffer, 48);
                SMBUtil.writeInt4(0x01, buffer, 56);
    
                // When
                response.readBytesWireFormat(buffer, 0);
    
                // Then - use reflection to verify private fields
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        }
    
        InetAddress localAddr;
        int localPort;
        UniAddress address;
        Socket socket;
        int port, mid;
        OutputStream out;
        InputStream in;
        byte[] sbuf = new byte[512]; /* small local buffer */
        SmbComBlankResponse key = new SmbComBlankResponse();
        long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT;
        LinkedList referrals = new LinkedList();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(32, samr.ACB_MNS);
                assertEquals(64, samr.ACB_DOMTRUST);
                assertEquals(128, samr.ACB_WSTRUST);
                assertEquals(256, samr.ACB_SVRTRUST);
                assertEquals(512, samr.ACB_PWNOEXP);
                assertEquals(1024, samr.ACB_AUTOLOCK);
                assertEquals(2048, samr.ACB_ENC_TXT_PWD_ALLOWED);
                assertEquals(4096, samr.ACB_SMARTCARD_REQUIRED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        @ValueSource(ints = { 0, 10, 50, 100 })
        @DisplayName("writeBytesWireFormat should work at different offsets")
        void testWriteBytesWireFormatAtDifferentOffsets(int offset) {
            byte[] buffer = new byte[512];
    
            int written = request.writeBytesWireFormat(buffer, offset);
    
            assertEquals(24, written);
            assertEquals(24, SMBUtil.readInt2(buffer, offset));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

        /** Maximum buffer size for IO operations */
        protected int maximumBufferSize = 0x10000;
        /** Maximum buffer size for SMB transaction operations */
        protected int transactionBufferSize = 0xFFFF - 512;
        /** Number of buffers to keep in cache */
        protected int bufferCacheSize = 16;
        /** Maximum size for list operations */
        protected int smbListSize = 65435;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top