Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 192 for srcEnd (0.07 sec)

  1. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

            }
            return c;
        }
    
        /**
         * Merges two characters, handling voiced and semi-voiced sound marks.
         * @param c1 The first character.
         * @param c2 The second character.
         * @return The merged character.
         */
        public static char mergeChar(final char c1, final char c2) {
            if (c2 == '゙') {
                if ("カキクケコサシスセソタチツテトハヒフヘホ".indexOf(c1) >= 0) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            SMBUtil.writeInt4(10, buffer, notifyOffset + 8); // FileNameLength
            System.arraycopy("file1".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 10);
    
            // Second notification at offset 120 (80 + 40)
            notifyOffset = 120;
            SMBUtil.writeInt4(44, buffer, notifyOffset); // NextEntryOffset
            SMBUtil.writeInt4(2, buffer, notifyOffset + 4); // Action (REMOVED)
    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/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access);
            handle.close(); // First close
            handle.close(); // Second close
    
            // Verify sendrecv for close was called only once
            verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank"));
            }
    
            // Second call should also fail with the same error
            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            setDataCount(response, 20);
    
            // First read
            int bytesRead1 = response.readDataWireFormat(buffer, 0, 20);
            FileSystemInformation info1 = response.getInfo();
    
            // Second read with different data
            buffer = prepareAllocationInfoBuffer();
            buffer[8] = 10; // Change some data
    
            int bytesRead2 = response.readDataWireFormat(buffer, 0, 20);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HMACT64Test.java

                verify(mockMd5, times(2)).update(any(byte[].class)); // Once in constructor with ipad, once in engineDigest with opad
                verify(mockMd5, times(1)).digest(innerDigest); // Second call for final digest
            }
        }
    
        @Test
        void testEngineDigestWithBuffer() throws NoSuchAlgorithmException, DigestException {
            // Test engineDigest(byte[] buf, int offset, int len)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // Then
            assertEquals(2, written, "Should write 2 bytes");
            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand");
            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            Field remarkField = SmbShareInfo.class.getDeclaredField("remark");
            remarkField.setAccessible(true);
            assertEquals("Remark for Share1", remarkField.get(shareInfo));
    
            // Verify the second entry
            FileEntry entry2 = entries[1];
            assertNotNull(entry2);
            assertEquals("Share2", entry2.getName());
            assertEquals(32, entry2.getType()); // TYPE_PRINTER constant (0x20)
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/ResourceManagerTest.java

            ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource);
    
            managed.close();
            assertTrue(resource.isClosed());
    
            // Second close should not throw
            assertDoesNotThrow(managed::close);
        }
    
        @Test
        @DisplayName("Test null resource registration throws exception")
        void testNullResourceRegistration() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            TestIterator it = TestIterator.create(tree, parent, "*", null, 0, initial, List.of(new FileEntry[][] { new FileEntry[] {} }))
                    .throwOnCloseInternal();
    
            // Act: first next() returns initial, second triggers close which throws internally but is handled
            assertTrue(it.hasNext());
            assertEquals("first", it.next().getName());
            assertFalse(it.hasNext()); // After exhaustion, hasNext should return false
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top