Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 223 for 256 (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

        @Test
        @DisplayName("Should read empty bytes from wire format")
        void testReadBytesWireFormat() {
            // Given
            request = new Smb2NegotiateRequest(mockConfig, 0);
            byte[] buffer = new byte[256];
    
            // When
            int bytesRead = request.readBytesWireFormat(buffer, 0);
    
            // Then - This is a request, so it doesn't read from wire
            assertEquals(0, bytesRead);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test getInitialCredits returns large value")
        void testGetInitialCreditsLarge() {
            // Arrange
            int expectedCredits = 256;
            when(negotiationResponse.getInitialCredits()).thenReturn(expectedCredits);
    
            // Act
            int credits = negotiationResponse.getInitialCredits();
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. cmd/format-erasure_test.go

    			}
    			if newFormats[i][j].ID != quorumFormat.ID {
    				t.Fatal("Deployment id in the new format is lost")
    			}
    		}
    	}
    }
    
    func BenchmarkInitStorageDisks256(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 256)
    }
    
    func BenchmarkInitStorageDisks1024(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 1024)
    }
    
    func BenchmarkInitStorageDisks2048(b *testing.B) {
    	benchmarkInitStorageDisksN(b, 2048)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            byte[] buffer = new byte[40];
    
            // Mock times (8 bytes each)
            for (int i = 0; i < 32; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            // Mock attributes (4 bytes)
            buffer[32] = 0x01;
            buffer[33] = 0x00;
            buffer[34] = 0x00;
            buffer[35] = 0x00;
    
            return buffer;
        }
    
    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/smb2/lock/Smb2LockResponseTest.java

                // Given - buffer with random data
                byte[] buffer = new byte[10];
                for (int i = 0; i < buffer.length; i++) {
                    buffer[i] = (byte) (Math.random() * 256);
                }
    
                // When & Then
                // Should either read successfully if random data happens to be 4,
                // or throw SMBProtocolDecodingException
                try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

        }
    
        // Maximum sizes for various SMB fields (based on protocol specifications)
        public static final int MAX_SMB_PATH_LENGTH = 32767; // Windows MAX_PATH
        public static final int MAX_USERNAME_LENGTH = 256;
        public static final int MAX_DOMAIN_LENGTH = 255;
        public static final int MAX_SHARE_NAME_LENGTH = 80;
        public static final int MAX_BUFFER_SIZE = 65536; // 64KB default max buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.25.md

      - [Changelog since v1.25.6](#changelog-since-v1256)
      - [Changes by Kind](#changes-by-kind-8)
        - [Feature](#feature-8)
        - [Bug or Regression](#bug-or-regression-8)
      - [Dependencies](#dependencies-9)
        - [Added](#added-9)
        - [Changed](#changed-9)
        - [Removed](#removed-9)
    - [v1.25.6](#v1256)
      - [Downloads for v1.25.6](#downloads-for-v1256)
        - [Source Code](#source-code-10)
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
  8. tests/migrate_test.go

    				t.Fatalf("birthday's precision should be 2, but got %v", precision)
    			}
    		}
    	}
    
    	type UserMigrateColumn3 struct {
    		ID                  uint
    		Name                string    `gorm:"size:256"`
    		Salary              float64   `gorm:"precision:3"`
    		Birthday            time.Time `gorm:"precision:3"`
    		NameIgnoreMigration string    `gorm:"size:128;-:migration"`
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const HUPCL ideal-int
    pkg syscall (freebsd-arm64), const ICANON = 256
    pkg syscall (freebsd-arm64), const ICANON ideal-int
    pkg syscall (freebsd-arm64), const ICMP6_FILTER = 18
    pkg syscall (freebsd-arm64), const ICMP6_FILTER ideal-int
    pkg syscall (freebsd-arm64), const ICRNL = 256
    pkg syscall (freebsd-arm64), const ICRNL ideal-int
    pkg syscall (freebsd-arm64), const IEXTEN = 1024
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 508.9K bytes
    - Viewed (0)
  10. cmd/apierrorcode_string.go

    	_ = x[ErrUnsupportedSyntax-251]
    	_ = x[ErrUnsupportedRangeHeader-252]
    	_ = x[ErrLexerInvalidChar-253]
    	_ = x[ErrLexerInvalidOperator-254]
    	_ = x[ErrLexerInvalidLiteral-255]
    	_ = x[ErrLexerInvalidIONLiteral-256]
    	_ = x[ErrParseExpectedDatePart-257]
    	_ = x[ErrParseExpectedKeyword-258]
    	_ = x[ErrParseExpectedTokenType-259]
    	_ = x[ErrParseExpected2TokenTypes-260]
    	_ = x[ErrParseExpectedNumber-261]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 21.6K bytes
    - Viewed (0)
Back to top