Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 489 for startswith (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

    package okhttp3.internal.http
    
    import app.cash.burst.Burst
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import assertk.fail
    import java.io.IOException
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit.MILLISECONDS
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            }
    
            ContentNotFoundException exception = new ContentNotFoundException(longParentUrl.toString(), longUrl.toString());
    
            assertNotNull(exception);
            assertTrue(exception.getMessage().startsWith("Not Found: http://example.com/"));
            assertTrue(exception.getMessage().contains("Parent: http://example.com/"));
            assertNull(exception.getCause());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/Strings.java

        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
      }
    
      /**
       * Returns the longest string {@code prefix} such that {@code a.toString().startsWith(prefix) &&
       * b.toString().startsWith(prefix)}, taking care not to split surrogate pairs. If {@code a} and
       * {@code b} have no common prefix, returns the empty string.
       *
       * @since 11.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            if (localRepository != null && !localRepository.isEmpty()) {
                File file = new File(localRepository);
                if (!file.isAbsolute() && file.getPath().startsWith(File.separator)) {
                    userSettings.setLocalRepository(file.getAbsolutePath());
                }
            }
    
            if (hasErrors(problems.getProblems())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            return idList;
        }
    
        protected static String getResponsePath(final String namePrefix) {
            return "response.settings.findAll {it.name.startsWith(\"" + namePrefix + "\")}";
        }
    
        protected static String getJsonResponse(final String path) {
            final Map<String, Object> searchBody = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            assertEquals(123, cloned.getUserLifeTime());
            assertEquals(456, cloned.getLifeTime());
    
            // toString should include class marker and not throw
            assertTrue(cloned.toString().startsWith("Kerb5Authenticator["));
        }
    
        @Test
        @DisplayName("equals/hashCode: subject semantics")
        void equalsAndHashCode_subjectSemantics() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                    String line;
                    StringBuilder contentBuilder = new StringBuilder();
                    while ((line = reader.readLine()) != null) {
                        if (!line.trim().startsWith("#")) {
                            existingClasses.add(line.trim());
                        }
                        contentBuilder.append(line).append("\n");
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        for (Method method : AbstractFutureTest.class.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers()) && method.getName().startsWith("test")) {
            suite.addTest(
                TestSuite.createTest(AbstractFutureFallbackAtomicHelperTest.class, method.getName()));
          }
        }
        return suite;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        @Test
        @DisplayName("Test toString format")
        void testToString() {
            // Test default constructor
            String str1 = fileInfo.toString();
            assertNotNull(str1);
            assertTrue(str1.startsWith("EndOfFileInformation["));
            assertTrue(str1.contains("endOfFile="));
            assertTrue(str1.endsWith("]"));
    
            // Test with specific value
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                } else if (isNoteworthyException(exception)) {
                    reference = exception.getClass().getSimpleName();
                }
            }
    
            if ((reference != null && !reference.isEmpty()) && !reference.startsWith("http:")) {
                reference = "http://cwiki.apache.org/confluence/display/MAVEN/" + reference;
            }
    
            return reference;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top