Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 222 for ohne (1.12 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] buf = new byte[bodyLen];
            SMBUtil.writeInt2(9, buf, 0); // structureSize
            buf[2] = (byte) errorContextCount; // ErrorContextCount
            // one reserved byte at position 3
            SMBUtil.writeInt4(bc, buf, 4); // ByteCount
            if (bc > 0 && errorData != null) {
                System.arraycopy(errorData, 0, buf, 8, bc);
            }
            return buf;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // Then
            assertTrue(bytesRead > 0);
            List<FileNotifyInformation> notifications = response.getNotifyInformation();
            assertEquals(1, notifications.size()); // One empty notification is created
        }
    
        @Test
        @DisplayName("Should handle notification with long filename")
        void testLongFilename() throws Exception {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

                    this.origin_server = null;
                    this.origin_ctx = null;
                }
            }
        }
    
        /**
         * Get members of the group represented by this SID, if it is one.
         *
         * @param authorityServerName the server to use for SID resolution
         * @param tc the CIFS context to use
         * @param flags resolution flags
         * @return the members of the group
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

        class SamrSamArrayTests {
    
            @Test
            @DisplayName("Should encode array with entries")
            void testEncode() throws NdrException {
                // Given: SAM array with one entry
                samr.SamrSamArray array = new samr.SamrSamArray();
                array.count = 1;
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                entry.name = new rpc.unicode_string();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            NtlmPasswordAuthenticator cloned = new NtlmPasswordAuthenticator();
            cloneInternal(cloned, this);
            return cloned;
        }
    
        /**
         * Clone internal fields from one authenticator to another.
         *
         * @param cloned the target authenticator to copy to
         * @param toClone the source authenticator to copy from
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            String name = "TESTFLAGS       ";
            System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 1, 16);
            src[srcIndex + 16] = 0x00; // hex code
            src[srcIndex + 17] = (byte) 0xFE; // All flags except one: 11111110
            // Bit 7: group (1)
            // Bits 6-5: owner node type (11 = 3)
            // Bit 4: being deleted (1)
            // Bit 3: in conflict (1)
            // Bit 2: active (1)
            // Bit 1: permanent (1)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            when(config.isIpcSigningEnforced()).thenReturn(true);
            when(creds.isAnonymous()).thenReturn(true);
            assertFalse(ipc.shouldForceSigning());
    
            // Verify interactions sequence for one call
            InOrder inOrder = inOrder(config, creds);
            ipc = locator("smb://server/IPC$/");
            ipc.shouldForceSigning();
            inOrder.verify(config, atLeastOnce()).isIpcSigningEnforced();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
         * manage that 4 byte header specifically and therefore the initial
         * bufferIndex, and thus headerStart, would be 4).(NOTE: If one where
         * looking for a way to improve perfomance this is precisly what you
         * would want to do as the jcifs.netbios.SocketXxxputStream classes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            assertTrue(urlFilter.match("https://any.com/any/path"));
    
            urlFilter.clear();
            urlFilter.init(sessionId);
    
            urlFilter.addInclude(".+"); // Match at least one character
            assertTrue(urlFilter.match("https://example.com/"));
            assertFalse(urlFilter.match(""));
        }
    
        /**
         * Test memory efficiency with large number of patterns
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertEquals(24, SMBUtil.readInt2(buffer, 0));
        }
    
        @Test
        @DisplayName("Test buffer overflow protection")
        void testBufferOverflowProtection() {
            byte[] smallBuffer = new byte[23]; // One byte too small
    
            // Should throw ArrayIndexOutOfBoundsException
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                request.writeBytesWireFormat(smallBuffer, 0);
            });
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top