Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 4201 - 4210 of 7,017 for string (0.19 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonB.java

    /**
     * Wagon for testing, for protocols <code>b1</code> and <code>b2</code>
     *
     */
    @Named("b")
    @Singleton
    public class WagonB extends WagonMock {
        public String[] getSupportedProtocols() {
            return new String[] {"b1", "b2"};
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbNamedPipeTest.java

        class ConstructorTests {
    
            @ParameterizedTest
            @DisplayName("Accepts IPC$ URLs (happy path)")
            @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" })
            void constructsWithIpcShare(String url) throws Exception {
                // Arrange & Act
                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

      }
    
      public Set<Feature<?>> getFeatures() {
        return unmodifiableSet(features);
      }
    
      // Name
    
      private @Nullable String name;
    
      /** Configures this builder produce a TestSuite with the given name. */
      @CanIgnoreReturnValue
      public B named(String name) {
        checkArgument(
            !name.contains("("),
            "Eclipse hides all characters after "
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

       *
       * <p>This method (dangerously) assume that the strings {@code "!! a"} and {@code "~~ z"} will
       * work for this purpose, which may cause problems for navigable maps with non-string or unicode
       * generators.
       */
      private static List<String> getExtremeValues() {
        List<String> result = new ArrayList<>();
        result.add("!! a");
        result.add("!! b");
        result.add("~~ y");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

        void testToString() {
            // Test toString method
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Set test values
            setFieldValue(response, "fileAttributes", 0x0021);
            setFieldValue(response, "lastWriteTime", System.currentTimeMillis());
            setFieldValue(response, "fileSize", 12345);
    
            String result = response.toString();
    
            assertNotNull(result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          // tests can successfully parse a number string with this radix.
          String maxAsString = max.toString(radix);
          assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue());
    
          assertThrows(
              NumberFormatException.class,
              () -> {
                BigInteger overflow = max.add(ONE);
                String overflowAsString = overflow.toString(radix);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/auth/chain/AuthenticationChain.java

         * @param password The new password.
         * @return True if the password was successfully changed, false otherwise.
         */
        boolean changePassword(String username, String password);
    
        /**
         * Loads user information from the authentication chain.
         * @param user The user template containing search criteria.
         * @return The loaded user, or null if not found.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/wizard/CrawlingConfigForm.java

        }
    
        /**
         * Name of the crawling configuration.
         */
        @Required
        @Size(max = 200)
        public String crawlingConfigName;
    
        /**
         * Path or URL to be crawled by this configuration.
         */
        @Required
        @Size(max = 1000)
        public String crawlingConfigPath;
    
        /**
         * Maximum depth for crawling (how many levels deep to follow links).
         */
        @Min(value = 0)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/badword/CreateForm.java

        /**
         * The bad word to be filtered from search suggestions.
         */
        @Required
        @Pattern(regexp = "[^\\s]+")
        public String suggestWord;
    
        /**
         * The username of the user who created this bad word entry.
         */
        @Size(max = 1000)
        public String createdBy;
    
        /**
         * The timestamp when this bad word entry was created.
         */
        @ValidateTypeFailure
        public Long createdTime;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/engine/SearchEngineApiManagerTest.java

            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        @Test
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
            assertTrue(str.startsWith("H"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top