- Sort Score
- Num 10 results
- Language All
Results 701 - 710 of 1,480 for handler (0.04 seconds)
-
src/bufio/scan_test.go
if err != nil { t.Fatal(err) } } // Test that the line splitter handles a final line without a newline. func TestScanLineNoNewline(t *testing.T) { const text = "abcdefghijklmn\nopqrstuvwxyz" lines := []string{ "abcdefghijklmn", "opqrstuvwxyz", } testNoNewline(text, lines, t) } // Test that the line splitter handles a final line with a carriage return but no newline.Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
*/ @Execute @Secured({ ROLE, ROLE + VIEW }) public HtmlResponse move(final ListForm form) { saveToken(); return doMove(form, 0); } /** * Handles pagination movement logic. * * @param form the list form containing current state * @param move the direction to move (-1 for previous, 0 for specific page, 1 for next)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 25.5K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified"); } } @Test @DisplayName("Should handle encoding at buffer boundary") void testEncodeAtBufferBoundary() { // Given byte[] exactBuffer = new byte[EXPECTED_SIZE]; SrvCopychunk chunk = new SrvCopychunk(999L, 888L, 777);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorErrorHandlingTest.java
processor.setSearcher(new TestSearcher(100)); processor.register(new ExceptionThrowingSearcher(new RuntimeException("Test exception"))); processor.init(); // Should handle exception gracefully and return results from working searcher final List<Map<String, Object>> results = processor.search("*", new TestSearchRequestParams(0, 10, 0), OptionalThing.empty()); assertNotNull(results);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
leaseManager.updateLease(key, grantedState); LeaseEntry entry = leaseManager.getLease(key); assertEquals(grantedState, entry.getLeaseState()); } @Test @DisplayName("Should handle lease break") void testHandleLeaseBreak() { String path = "/share/file.txt"; int initialState = Smb2LeaseState.SMB2_LEASE_FULL; int newState = Smb2LeaseState.SMB2_LEASE_READ_CACHING;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ClassHandler.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.core.io; /** * Interface for handlers that process classes. * * @author koichik */ public interface ClassHandler { /** * Processes a class. * * @param packageName the package nameCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 975 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseStateTest.java
// Should return true when handle caching is enabled assertTrue(DirectoryLeaseState.canKeepHandlesOpen(Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING)); assertTrue(DirectoryLeaseState.canKeepHandlesOpen(DirectoryLeaseState.DIRECTORY_READ_HANDLE)); assertTrue(DirectoryLeaseState.canKeepHandlesOpen(DirectoryLeaseState.DIRECTORY_FULL)); // Should return false when handle caching is not enabledCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
static FileEntry[] doDfsRootEnum(final CIFSContext ctx, final SmbResourceLocator loc, final Address address) throws IOException { try (DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\netdfs")) { final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer()); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, true); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
internal/config/policy/opa/config.go
opaRespBytes, err := io.ReadAll(resp.Body) if err != nil { return false, err } // Handle large OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz type opaResultAllow struct { Result struct { Allow bool `json:"allow"` } `json:"result"` } // Handle simpler OPA responses when OPA URL is of // form http://localhost:8181/v1/data/httpapi/authz/allow
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.3K bytes - Click Count (0)