Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2111 - 2120 of 3,032 for strike (0.21 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

    @Suppress("HttpUrlsUsage") // Don't warn if we should be using https://.
    open class HttpUrlTest {
      protected open fun parse(url: String): HttpUrl = url.toHttpUrl()
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        try {
          val result = string.toHttpUrl()
          if (exceptionMessage != null) {
            fail("Expected failure with $exceptionMessage but got $result")
          } else {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Aug 04 07:38:48 GMT 2025
    - 69.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

                  assertThat(responseA.body.string()).isEqualTo("a")
                }
                chain.proceed(chain.request())
              },
            ).build()
        val requestB =
          Request
            .Builder()
            .url(server.url("/b"))
            .build()
        val responseB = client.newCall(requestB).execute()
        assertThat(responseB.body.string()).isEqualTo("b")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/pager/GroupPager.java

        /** Current page number being displayed. */
        private int currentPageNumber;
    
        /** Group ID for search filtering. */
        public String id;
    
        /** Group name for search filtering. */
        public String name;
    
        /** Version number for optimistic locking. */
        public String versionNo;
    
        /**
         * Default constructor for GroupPager.
         * Initializes the pager with default values for pagination settings.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertThat(ee).hasCauseThat().isSameInstanceAs(e);
      }
    
      public void testSetFuture() throws Exception {
        SettableFuture<String> future = SettableFuture.create();
        SettableFuture<String> nested = SettableFuture.create();
        assertTrue(future.setFuture(nested));
        // Later attempts to set the future should return false.
        assertFalse(future.set("x"));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

            Element root = pomDocument.root();
    
            // Extract direct values
            String groupId = root.childTextTrimmed(MavenPomElements.Elements.GROUP_ID);
            String artifactId = root.childTextTrimmed(MavenPomElements.Elements.ARTIFACT_ID);
            String version = root.childTextTrimmed(MavenPomElements.Elements.VERSION);
    
            // If groupId or version is missing, try to get from parent
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

            Path rootDir
        ) {
            if (allFilesInCheckout.isEmpty()) {
                LOGGER.warn("No changelog files in checkout, so nothing to delete.");
                return;
            }
    
            final Set<String> earlierFiles = findAllFilesInEarlierVersions(gitWrapper, version);
    
            if (earlierFiles.isEmpty()) {
                LOGGER.warn("No files need to be deleted.");
                return;
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/reflect/Invokable.java

     *
     * {@snippet :
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
     * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType());
     * }
     *
     * <p><b>Note:</b> earlier versions of this class inherited from {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 18.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            ProtwordsItem item1 = new ProtwordsItem(1, "word");
            assertEquals("word", item1.getInputValue());
    
            // Test with empty string
            ProtwordsItem item2 = new ProtwordsItem(2, "");
            assertEquals("", item2.getInputValue());
    
            // Test with null input - should return empty string
            ProtwordsItem item3 = new ProtwordsItem(3, null);
            assertEquals("", item3.getInputValue());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public <T> Iterable<? super String> wildcardsMatchByLowerBound(
            List<? super CharSequence> list) {
          return isSubtype(list);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public <T> Iterable<? super CharSequence> wildCardsDoNotMatchByLowerBound(
            List<? super String> list) {
          return notSubtype(list);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 20.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

         * @param password The new password.
         * @return True if the password was successfully changed in all chains, false otherwise.
         */
        public boolean changePassword(final String username, final String password) {
            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        /**
         * Deletes a user from all authentication chains.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top