- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,033 for bundle (0.04 seconds)
-
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) -
docs/en/docs/advanced/events.md
## Use Case { #use-case } Let's start with an example **use case** and then see how to solve it with this. Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖 The same models are shared among requests, so, it's not one model per request, or one per user or something similar.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 7.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
// If source and destination are the same device, then this creates a new handle // that shares the underlying buffer. Otherwise, it currently requires at least // one of the source or destination devices to be CPU (i.e., for the source or // destination tensor to be placed in host memory). // If async execution is enabled, the copy may be enqueued and the call will // return "non-ready" handle. Else, this function returns after the copy has // been done.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K 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/internal/smb2/multichannel/ChannelFailover.java
// Handle operation failure appropriately notifyOperationFailure(op, e); } } } } private void notifyOperationFailure(CommonServerMessageBlock op, Exception error) { // This would need to be implemented based on how the SMB operations // handle asynchronous failures in the actual transport implementationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K 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) -
src/test/java/jcifs/smb1/https/HandlerTest.java
// Then assertTrue(testHandler instanceof jcifs.smb1.http.Handler); assertEquals(443, testHandler.getDefaultPort()); } @Test @DisplayName("Should handle multiple instances") void testMultipleInstances() { // When Handler handler1 = new Handler(); Handler handler2 = new Handler(); Handler handler3 = new Handler();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
assertTrue(smbTreeHandle.isSameTree(smbTreeHandle), "isSameTree should return true for the same handle"); assertFalse(smbTreeHandle.isSameTree(anotherHandle), "isSameTree should return false for a different handle"); } /** * Test for isSMB2() method. * Verifies that the method returns the correct SMB protocol version status. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K 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)