- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 393 for isSmall (0.05 seconds)
-
src/test/java/jcifs/smb1/util/HMACT64Test.java
@Test void testEngineDigestWithInsufficientBuffer() { // Test engineDigest with buffer too small HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] buffer = new byte[10]; // Should throw exception when buffer is too small assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.1K bytes - Click Count (0) -
PULL_REQUESTS_ETIQUETTE.md
- Contains well-written, logical commits explaining *why* changes were made (e.g., “Add S3 bucket tagging support so that users can organize resources efficiently”). - Is small, focused, and easy to review—ideally one commit, unless multiple commits better narrate complex work. - Adheres to MinIO’s coding standards (e.g., Go style, error handling, testing).
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun May 25 16:32:03 GMT 2025 - 4.7K bytes - Click Count (0) -
src/arena/arena.go
This functionality in this package is mostly captured in the Arena type. Arenas allocate large chunks of memory for Go values, so they're likely to be inefficient for allocating only small amounts of small Go values. They're best used in bulk, on the order of MiB of memory allocated on each use. Note that by allowing for this limited form of manual memory allocation
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Oct 12 20:23:36 GMT 2022 - 4.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
// I'm fully aware that the file could just be moved using File.rename but // there are bugs in various JVM that have problems doing this across // different filesystem. So we'll incur the small hit to actually copy // here and be safe. jvz. // ---------------------------------------------------------------------------- try {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4K bytes - Click Count (0) -
docs/en/docs/how-to/graphql.md
Depending on your use case, you might prefer to use a different library, but if you asked me, I would probably suggest you try **Strawberry**. Here's a small preview of how you could integrate Strawberry with FastAPI: {* ../../docs_src/graphql_/tutorial001_py310.py hl[3,22,25] *} You can learn more about Strawberry in the [Strawberry documentation](https://strawberry.rocks/).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.7K bytes - Click Count (0) -
cmd/update-notifier.go
// not able to calculate terminal width via OS syscalls termWidth := 25 if width, err := pb.GetTerminalWidth(); err == nil { termWidth = width } // Box cannot be printed if terminal width is small than maxContentWidth if maxContentWidth > termWidth { return "\n" + line1InColor + "\n" + line2InColor + "\n\n" } topLeftChar := "┏" topRightChar := "┓" bottomLeftChar := "┗" bottomRightChar := "┛"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/ne.css
font-family: Verdana, sans-serif; font-size: 10pt } body { font-family: Verdana, sans-serif; font-size: 10pt; background-color: #ffffff; margin-top: 0; margin-left: 5 } small { font-size: 8pt } big { font-size: 14ptCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
// Validate minimum buffer size for SMB2 negotiate response if (buffer == null || buffer.length < bufferIndex + 65) { throw new SMBProtocolDecodingException("Buffer too small for SMB2 negotiate response (minimum 65 bytes required)"); } final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 65) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
@ExtendWith(MockitoExtension.class) public class SmbAuthExceptionTest { /** * Provide representative error codes for the int constructor. * - NT status code (high bits set) * - Success code (0) * - Non-NT small code to exercise default mapping to NT_STATUS_UNSUCCESSFUL */ static Stream<Arguments> intErrorCodes() { return Stream.of(Arguments.of(NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_ACCESS_DENIED),Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
} @Test void testReadDataWireFormat_BufferTooSmall() throws Exception { // Test with buffer too small for complete data response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[10]; // Too small for SmbInfoAllocation // Set dataCount setDataCount(response, 10);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0)