Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 3,180 for when (0.11 seconds)

  1. android/guava/src/com/google/common/collect/LinkedHashMultiset.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements
     * according to when the first occurrence of the element was added. When the multiset contains
     * multiple instances of an element, those instances are consecutive in the iteration order. If all
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionArchiveCheckPluginFuncTest.groovy

            buildFile << """
                tasks.withType(AbstractArchiveTask).configureEach {
                    from 'SomeFile.class'
                }
            """
            when:
            def result = gradleRunner(":darwin-${archiveType}:check", '--stacktrace').buildAndFail()
            then:
            result.task(":darwin-${archiveType}:checkExtraction").outcome == TaskOutcome.FAILED
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 03 10:22:28 GMT 2021
    - 5.9K bytes
    - Click Count (0)
  3. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/InternalDistributionDownloadPluginFuncTest.groovy

                    from(elasticsearch_distributions.test_distro)
                    into("build/distro")
                }
            """
    
            when:
            def result = gradleRunner("setupDistro", '-g', testProjectDir.newFolder('GUH').path).build()
    
            then:
            result.task(":distribution:archives:${testArchiveProjectName}:buildExpanded").outcome == TaskOutcome.SUCCESS
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            @Test
            @DisplayName("isResponseAsync should return false when asyncId is 0")
            void testIsResponseAsyncFalse() {
                testRequest.setAsyncId(0);
                assertFalse(testRequest.isResponseAsync());
            }
    
            @Test
            @DisplayName("isResponseAsync should return true when asyncId is not 0")
            void testIsResponseAsyncTrue() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/DecodableTest.java

            // Given
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 10;
            when(mockDecodable.decode(buffer, bufferIndex, len)).thenReturn(10);
    
            // When
            int decodedLength = mockDecodable.decode(buffer, bufferIndex, len);
    
            // Then
            assertEquals(10, decodedLength);
            verify(mockDecodable).decode(buffer, bufferIndex, len);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TlsVersion.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    /**
     * Versions of TLS that can be offered when negotiating a secure socket. See
     * [javax.net.ssl.SSLSocket.setEnabledProtocols].
     */
    enum class TlsVersion(
      @get:JvmName("javaName") val javaName: String,
    ) {
      TLS_1_3("TLSv1.3"), // 2016.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  7. docs/ja/llm-prompt.md

    - Prefer Japanese corner brackets 「」 in normal prose when quoting a term.
    - Do not change quotes inside inline code, code blocks, URLs, or file paths.
    
    ### Ellipsis
    
    - Keep ellipsis style consistent with existing Japanese docs (commonly `...`).
    - Never change `...` in code, URLs, or CLI examples.
    
    ### Preferred translations / glossary
    
    Use the following preferred translations when they apply in documentation prose:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 16:44:21 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/HandlerTest.java

            assertNotNull(connection, "Connection should not be null even when jcifs is in handler path.");
            assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it.");
        }
    
        @Test
        void testOpenConnection_NullSystemProperty_UsesDefaultHandlers() throws Exception {
            // This test verifies that when the system property is null, the handler
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. fastapi/security/oauth2.py

                    If `auto_error` is set to `False`, when the HTTP Authorization header
                    is not available, instead of erroring out, the dependency result will
                    be `None`.
    
                    This is useful when you want to have optional authentication.
    
                    It is also useful when you want to have authentication that can be
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            @DisplayName("Should verify signature when digest is present and successful")
            void testVerifySignatureSuccess() throws Exception {
                byte[] buffer = new byte[1024];
                echoResponse.setDigest(mockDigest);
                setStatus(echoResponse, NtStatus.NT_STATUS_SUCCESS);
    
                when(mockConfig.isRequireSecureNegotiate()).thenReturn(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top