- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 229 for Pattern (0.13 sec)
-
src/builtin/builtin.go
// uint is an unsigned integer type that is at least 32 bits in size. It is a // distinct type, however, and not an alias for, say, uint32. type uint uint // uintptr is an integer type that is large enough to hold the bit pattern of // any pointer. type uintptr uintptr // byte is an alias for uint8 and is equivalent to uint8 in all ways. It is // used, by convention, to distinguish byte values from 8-bit unsigned // integer values.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 30 23:59:23 UTC 2024 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
} @Test @DisplayName("EmptyIterator should follow Iterator contract for empty collections") void testIteratorContract() { // Given - typical Iterator usage pattern // When & Then - verify empty collection behavior assertFalse(emptyIterator.hasNext(), "Empty iterator should have no next element");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// Then - always returns 0 as this is a request, not response assertEquals(0, emptyRead); assertEquals(0, fullRead); } /** * Create a test byte array with specified size and pattern */ private byte[] createTestData(int size) { byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } return data;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
@Test @DisplayName("Should not modify buffer during write operation") void testWriteDoesNotModifyBuffer() { // Given byte[] buffer = new byte[256]; // Fill buffer with test pattern for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i & 0xFF); } byte[] originalBuffer = buffer.clone(); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION); byte[] dst = new byte[20]; // Fill buffer with test pattern for (int i = 0; i < dst.length; i++) { dst[i] = (byte) (i & 0xFF); } int startIndex = 5; int bytesWritten = querySecurityDesc.writeParametersWireFormat(dst, startIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SmbCircuitBreaker.java
import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; /** * Circuit breaker pattern implementation for SMB operations. * Prevents cascading failures by temporarily blocking requests to a failing service. * * The circuit breaker has three states: * - CLOSED: Normal operation, requests pass through
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
byte[] onesFileId = new byte[16]; Arrays.fill(onesFileId, (byte) 0xFF); testFileIdReading(onesFileId); // Test with pattern byte[] patternFileId = createTestData(16); testFileIdReading(patternFileId); } private void testFileIdReading(byte[] expectedFileId) throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false); byte[] dst = new byte[20]; // Fill buffer with test pattern for (int i = 0; i < dst.length; i++) { dst[i] = (byte) (i & 0xFF); } int startIndex = 5; int bytesWritten = notifyChange.writeSetupWireFormat(dst, startIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; // Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); } // Decode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
@Test @DisplayName("Should not modify buffer during write operation") void testWriteDoesNotModifyBuffer() { // Given byte[] buffer = new byte[256]; // Fill buffer with test pattern for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i & 0xFF); } byte[] originalBuffer = buffer.clone(); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0)