- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 469 for ushort (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@Test @DisplayName("Test constructor initializes with config") void testConstructor() { assertNotNull(response); // Command is not set in constructor, only after decoding assertEquals((short) 0, response.getCommand()); } @Test @DisplayName("Test writeBytesWireFormat returns 0") void testWriteBytesWireFormat() { byte[] dst = new byte[1024]; int dstIndex = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; int tzOffset = SMBUtil.readInt2(buffer, bufferIndex); // tzOffset is signed! if (tzOffset > Short.MAX_VALUE) { tzOffset = -1 * (65536 - tzOffset); } this.server.serverTimeZone = tzOffset; bufferIndex += 2; this.server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 15.8K bytes - Click Count (0) -
tests/scanner_valuer_test.go
} type EncryptedData []byte func (data *EncryptedData) Scan(value interface{}) error { if b, ok := value.([]byte); ok { if len(b) < 3 || b[0] != '*' || b[1] != '*' || b[2] != '*' { return errors.New("Too short") } *data = append((*data)[0:], b[3:]...) return nil } else if s, ok := value.(string); ok { *data = []byte(s[3:]) return nil } return errors.New("Bytes expected") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
TESTING.asciidoc
test fixtures. If it's not present those checks will be skipped automatically. The host running Docker (or VM if you're using Docker Desktop) needs 4GB of memory or some of the containers will fail to start. You can tell that you are short of memory if containers are exiting quickly after starting with code 137 (128 + 9, where 9 means SIGKILL). == Testing the REST layer The REST layer is tested through specific tests that are executed against
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 07 13:55:20 GMT 2021 - 32.5K bytes - Click Count (0) -
docs/en/docs/tutorial/body-nested-models.md
/// ## Recap { #recap } With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant. But with all the benefits: * Editor support (completion everywhere!) * Data conversion (a.k.a. parsing / serialization) * Data validation * Schema documentationCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
/** * Test class for Smb2TreeDisconnectRequest functionality */ @DisplayName("Smb2TreeDisconnectRequest Tests") @ExtendWith(MockitoExtension.class) class Smb2TreeDisconnectRequestTest { private static final short SMB2_TREE_DISCONNECT = 0x0004; @Test @DisplayName("Should create request with correct command type") void testConstructorSetsCorrectCommand() throws Exception { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
DirectoryCacheScope.IMMEDIATE_CHILDREN); DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(entry); // Set very short expiration time entry.setMaxAge(50); // 50ms // Update cache List<SmbFile> files = Arrays.asList(mockFile1); directoryLeaseManager.updateDirectoryCache(directoryPath, files);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
docs/uk/docs/features.md
Більше не доведеться вводити неправильні назви ключів, постійно повертатися до документації або прокручувати вгору-вниз, щоб знайти, чи ви зрештою використали `username` чи `user_name`. ### Короткий код { #short } FastAPI має розумні **налаштування за замовчуванням** для всього, з можливістю конфігурації всюди. Усі параметри можна точно налаштувати під ваші потреби та визначити потрібний вам API.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 15.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
SameDoubleInstance that = (SameDoubleInstance) obj; return i == that.i; } return false; } } static class SameShortInstance { private final Short i; public SameShortInstance(Short i) { this.i = checkNotNull(i); } @Override public int hashCode() { return i.hashCode(); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 36.3K bytes - Click Count (0) -
pyproject.toml
"docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py", ] [tool.coverage.report] show_missing = true sort = "-Cover" [tool.coverage.html] show_contexts = true [tool.ruff.lint] select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade ] ignore = [
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 10.3K bytes - Click Count (0)