Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 2,806 for Then (0.02 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                    Files.writeString(pomFile, pomContent);
    
                    // Update context to use the temp directory
                    when(context.invokerRequest.cwd()).thenReturn(tempDir);
    
                    // Mock successful strategy execution
                    when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                            .thenReturn(UpgradeResult.empty());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/TransportTest.java

            @Test
            @DisplayName("readn should throw IOException when buffer too short")
            void shouldThrowWhenBufferTooShort() {
                InputStream is = new ByteArrayInputStream("test".getBytes());
                assertThrows(IOException.class, () -> Transport.readn(is, new byte[5], 0, 10));
            }
    
            @Test
            @DisplayName("readn should return 0 when no more bytes available")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      open fun onEvent(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 07:51:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoInteractions;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                multipleReadyTasks = true
                break@eachQueue
              }
    
              // We have a task to execute when we complete the loop.
              else -> {
                readyTask = candidate
              }
            }
          }
    
          // Implement the decision.
          when {
            // We have a task ready to go. Get ready.
            readyTask != null -> {
              beforeRun(readyTask)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. cmd/batch-job-common-types.go

    	return nil
    }
    
    // InRange returns true in the following cases and false otherwise,
    // - sf.LowerBound < sz, when sf.LowerBound alone is specified
    // - sz < sf.UpperBound, when sf.UpperBound alone is specified
    // - sf.LowerBound < sz < sf.UpperBound when both are specified,
    func (sf BatchJobSizeFilter) InRange(sz int64) bool {
    	if sf.UpperBound > 0 && sz > int64(sf.UpperBound) {
    		return false
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
    
            // Mock CredentialsInternal for session tests
            jcifs.smb.CredentialsInternal mockCredentialsInternal = Mockito.mock(jcifs.smb.CredentialsInternal.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. docs/ja/llm-prompt.md

    1) Prefer Japanese corner brackets 「」 in normal prose when quoting a term.
    2) Do not change quotes inside inline code, code blocks, URLs, or file paths.
    
    ### Ellipsis
    
    1) Keep ellipsis style consistent with existing Japanese docs (commonly `...`).
    2) Never change `...` in code, URLs, or CLI examples.
    
    ### Preferred translations / glossary
    
    Use the following preferred translations when they apply in documentation prose:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 17:30:52 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertNull(parsed.getMechanism(), "mechanism should be null when omitted");
            assertNull(parsed.getMechanismToken(), "mechanism token should be null when omitted");
            assertNull(parsed.getMechanismListMIC(), "MIC should be null when omitted");
        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top