- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 150 for gracefully (0.05 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
void testReadMethodsWithNullBuffer() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // All read methods should handle null buffer gracefully by returning 0 assertEquals(0, trans2QueryFSInfo.readSetupWireFormat(null, 0, 0)); assertEquals(0, trans2QueryFSInfo.readParametersWireFormat(null, 0, 0));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
void testReadMethodsWithNullBuffer() { trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); // All read methods should handle null buffer gracefully assertEquals(0, trans2SetFileInfo.readSetupWireFormat(null, 0, 0)); assertEquals(0, trans2SetFileInfo.readParametersWireFormat(null, 0, 0));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
internal/ioutil/ioutil.go
// Run runs the given function, passing it a stopper channel. If the deadline passes before // the function finishes executing, Run returns context.DeadlineExceeded to the caller. // channel so that the work function can attempt to exit gracefully. // Multiple calls to Run will run independently of each other. func (d *DeadlineWorker) Run(work func() error) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
*/ public boolean isFinished() { return finished; } /** * Stops the crawling operation gracefully. * If a data store is currently active, this method calls * its stop method to halt the crawling process. */ public void stopCrawling() { if (dataStore != null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 19K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/DistroTestPlugin.java
} if (isDocker == false) { d.setBundledJdk(bundledJdk); } d.setVersion(version); }); // Allow us to gracefully omit building Docker distributions if Docker is not available on the system. // In such a case as we can't build the Docker images we'll simply skip the corresponding tests. if (isDocker) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Sep 28 21:31:21 GMT 2021 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBUtil.writeInt4(8, buffer, notifyOffset + 8); System.arraycopy("test".getBytes("UnicodeLittleUnmarked"), 0, buffer, notifyOffset + 12, 8); // When & Then - should handle gracefully assertThrows(Exception.class, () -> { response.readBytesWireFormat(buffer, offset); }); } @Test @DisplayName("Should verify NotifyResponse interface implementation")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
tensorflow/c/eager/c_api_cluster_test.cc
TFE_DeleteOp(op); // The device of var_handle1 is remote device, which was replaced during // cluster update. Removing resource with invalid device should fail // gracefully (i.e., with error status) instead of crashing with segfaults. op = TFE_NewOp(ctx, "DestroyResourceOp", status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpAddInput(op, var_handle1, status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
@Test public void test_mappingUpdater_closeWithError() throws Exception { writeTestFile("a,b => c\n"); // This test verifies that close() handles errors gracefully CharMappingItem newItem = new CharMappingItem(0, new String[] { "x", "y" }, "z"); // Insert will trigger MappingUpdater which will be closed automatically charMappingFile.insert(newItem);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
assertEquals(24, SMBUtil.readInt2(buffer, 0)); assertEquals(testFlags, SMBUtil.readInt2(buffer, 2)); } @Test @DisplayName("writeBytesWireFormat with null file ID should handle gracefully") void testWriteBytesWireFormatWithNullFileId() { Smb2CloseRequest requestWithNull = new Smb2CloseRequest(mockConfig, null, testFileName); byte[] buffer = new byte[256];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
ctx.skipRoleQuery(); }); // If we get here without exception, that's actually fine for some invalid queries // that might be handled gracefully } catch (InvalidQueryException e) { // This is expected for some types of invalid queries assertNotNull(e.getMessage()); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 53.2K bytes - Click Count (0)