Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 4,402 for Spring (0.04 sec)

  1. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        UnicodeEscaper spaceEscaper = new PercentEscaper(" ", false);
    
        assertEquals("string%20with%20spaces", basicEscaper.escape("string with spaces"));
        assertEquals("string+with+spaces", plusForSpaceEscaper.escape("string with spaces"));
        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/AsciiTest.java

        for (char c : IGNORED.toCharArray()) {
          String str = String.valueOf(c);
          assertEquals(str, c, Ascii.toLowerCase(c));
          assertEquals(str, c, Ascii.toUpperCase(c));
          assertFalse(str, Ascii.isLowerCase(c));
          assertFalse(str, Ascii.isUpperCase(c));
        }
      }
    
      public void testCharsLower() {
        for (char c : LOWER.toCharArray()) {
          String str = String.valueOf(c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. schema/naming_test.go

    	}
    }
    
    type CustomReplacer struct {
    	f func(string) string
    }
    
    func (r CustomReplacer) Replace(name string) string {
    	return r.f(name)
    }
    
    func TestCustomReplacer(t *testing.T) {
    	ns := NamingStrategy{
    		TablePrefix:   "public.",
    		SingularTable: true,
    		NameReplacer: CustomReplacer{
    			func(name string) string {
    				replaced := "REPLACED_" + strings.ToUpper(name)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

        }
    
        public void test_getLabelTypeItemList_searchRequestType() {
            List<Map<String, String>> result = labelTypeHelper.getLabelTypeItemList(SearchRequestType.SEARCH);
            assertNotNull(result);
        }
    
        public void test_getLabelTypeItemList_searchRequestTypeAndLocale() {
            List<Map<String, String>> result = labelTypeHelper.getLabelTypeItemList(SearchRequestType.SEARCH, Locale.ENGLISH);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        for (Integer node : network.nodes()) {
          for (String inEdge : network.inEdges(node)) {
            EndpointPair<Integer> endpointPair = network.incidentNodes(inEdge);
            assertThat(endpointPair.source()).isEqualTo(endpointPair.adjacentNode(node));
            assertThat(endpointPair.target()).isEqualTo(node);
          }
    
          for (String outEdge : network.outEdges(node)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/archive/tar/strconv_test.go

    		}
    	}
    }
    
    func TestParsePAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    		in      string
    		wantRes string
    		wantKey string
    		wantVal string
    		ok      bool
    	}{
    		{"6 k=v\n\n", "\n", "k", "v", true},
    		{"19 path=/etc/hosts\n", "", "path", "/etc/hosts", true},
    		{"210 path=" + longName + "\nabc", "abc", "path", longName, true},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  7. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      }
    
      fun assertEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
        assertThat(nextEvent()).isEqualTo(Event(id, type, data))
      }
    
      fun assertOpen(): EventSource {
        val event = nextEvent() as Open
        return event.eventSource
      }
    
      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(
        message: String?,
        code: Int? = null,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

      private static final Function<@Nullable String, @Nullable Character> FIRST_CHARACTER =
          new Function<@Nullable String, @Nullable Character>() {
            @Override
            public @Nullable Character apply(@Nullable String input) {
              return input == null ? null : input.charAt(0);
            }
          };
    
      @Override
      protected Table<String, Integer, Character> create(@Nullable Object... data) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/client/CrawlerEngineClient.java

        }
    
        @Override
        protected Client createClient() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            final String[] hosts =
                    split(address, ",").get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            final Builder builder = Settings.builder()
                    .putList("http.hosts", hosts)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

    @Deprecated
    public class JdkPrefixProfileActivator extends DetectedProfileActivator {
        private static final String JDK_VERSION = System.getProperty("java.version");
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top