- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 269 for K256 (0.04 seconds)
-
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
ContentOutputStream cos = new ContentOutputStream(100, Curl.tmpDir); byte[] largeData = new byte[500]; for (int i = 0; i < largeData.length; i++) { largeData[i] = (byte) (i % 256); } cos.write(largeData); assertFalse(cos.isInMemory()); File file = cos.getFile(); assertTrue(file.exists()); assertEquals(500, file.length());
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 11.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} @Override public BeanDesc getBeanDesc() { return beanDesc; } @Override public final String toString() { final StringBuilder buf = new StringBuilder(256); buf.append("propertyName=") .append(propertyName) .append(",propertyType=") .append(propertyType.getName()) .append(",readMethod=")Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
// start with some reasonably safe defaults, the server will till us if it does not like it // can we resume this if we loose the file descriptor? int maxChunks = 256; int maxChunkSize = 1024 * 1024; int byteLimit = 16 * 1024 * 1024; boolean retry = false; do { long ooff = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) (value & 0xFF), dst[3]); } private static Stream<Arguments> provideInt4TestValues() { return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536), Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF)); } @Test @DisplayName("readInt2 should correctly read 16-bit integer")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
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); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.7K bytes - Click Count (0) -
tests/associations_test.go
Pets []AssociationEmptyPet } type AssociationEmptyPet struct { AssociationEmptyUserID *uint `gorm:"uniqueIndex:uniq_user_id_name"` Name string `gorm:"uniqueIndex:uniq_user_id_name;size:256"` } func TestAssociationEmptyPrimaryKey(t *testing.T) { if DB.Dialector.Name() != "mysql" { t.Skip() } DB.Migrator().DropTable(&AssociationEmptyUser{}, &AssociationEmptyPet{})
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
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 bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
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(); // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0)