- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 2,185 for casse (0.03 seconds)
-
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange - use a real cause so message is derived from cause.toString() Throwable cause = new IllegalStateException("proto mismatch"); String expectedMessage = cause.toString(); // Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(cause); // Assert - cause preserved, message derived from cause assertSame(cause, ex.getCause());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
/** * Generated tests for {@link Monitor}. * * <p>This test class generates all of its own test cases in the {@link #suite()} method. Every * {@code enterXxx}, {@code tryEnterXxx}, and {@code waitForXxx} method of the {@code Monitor} class * is analyzed reflectively to determine appropriate test cases based on its signature. Additional * ad hoc test cases can be found in {@link SupplementalMonitorTest}. * * @author Justin T. Sampson */Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 27.1K bytes - Click Count (0) -
internal/grid/stream.go
// Send a payload to the remote server. func (s *Stream) Send(b []byte) error { if s.Requests == nil { return errors.New("stream does not accept requests") } select { case s.Requests <- b: return nil case <-s.ctx.Done(): return context.Cause(s.ctx) } } // Results returns the results from the remote server one by one. // If any error is returned by the callback, the stream will be canceled.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jun 07 15:51:52 GMT 2024 - 3.1K bytes - Click Count (0) -
internal/grid/muxclient.go
reqLoop: for !errState { select { case <-m.ctx.Done(): if debugPrint { fmt.Println("Client sending disconnect to mux", m.MuxID) } m.addErrorNonBlockingClose(errResp, context.Cause(m.ctx)) errState = true continue case <-pingTimer: if !m.doPing(errResp) { errState = true continue } case req, ok := <-requests: if !ok { // Done send EOFCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.9K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
} return latestFileInfo, nil } // validates functionality provided to find most common // time occurrence from a list of time. func TestCommonTime(t *testing.T) { // List of test cases for common modTime. testCases := []struct { times []time.Time time time.Time quorum int }{ { // 1. Tests common times when slice has varying time elements. []time.Time{
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
docs/en/docs/advanced/response-change-status-code.md
You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case { #use-case } For example, imagine that you want to return an HTTP status code of "OK" `200` by default.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
cmd/xl-storage_test.go
expectedErr error }{ // TestXLStorage case - 1. // A valid case, volume creation is expected to succeed. { volName: "success-vol", expectedErr: nil, }, // TestXLStorage case - 2. // Case where a file exists by the name of the volume to be created. { volName: "vol-as-file", expectedErr: errVolumeExists, }, // TestXLStorage case - 3. { volName: "existing-vol",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 66K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
void testToStringWithRootCause() { RuntimeException cause = new RuntimeException("boom"); SmbException ex = new SmbException(0, cause); assertTrue(ex.toString().contains("RuntimeException"), "String representation must include the root cause stack trace"); } /** * Verify that {@link #toString()} with no root cause equals the default
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/resources/fess_message_fr.properties
errors.failed_to_delete_file = Échec de la suppression du fichier {0}. errors.docid_not_found = ID de document non trouvé. Cause : {0} errors.document_not_found = L'URL de l'ID de document est introuvable. Cause : {0} errors.not_load_from_server = Impossible de charger depuis ce serveur. Cause : {0} errors.failed_to_start_job = Échec du démarrage d'une tâche : {0}. errors.failed_to_stop_job = Échec de l'arrêt d'une tâche : {0}.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Jul 05 02:36:47 GMT 2025 - 13.1K bytes - Click Count (0) -
internal/mountinfo/mountinfo_linux_test.go
} } // Success case, where path doesn't have any mounts. { absPaths := []string{"/path/to/x"} if err = checkCrossDevice(absPaths, mountsPath); err != nil { t.Fatalf("Expected success, failed instead (%s)", err) } } } // Tests cross device mount verification function, for both failure // and success cases. func TestCrossDeviceMount(t *testing.T) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Click Count (0)