Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,011 for replace (0.19 sec)

  1. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

        val mainFiles = mainFiles()
        return mainFiles.map {
          val suffix = it.path.replace("${prefix}samples/guide/src/main/java/", "")
          suffix.replace("(.*)\\.java".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.')
          }.replace("(.*)\\.kt".toRegex()) { mr ->
            mr.groupValues[1].replace('/', '.') + "Kt"
          }
        }.sorted()
      }
    }
    
    @Disabled("Don't run by default")
    @Tag("Slow")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingConcurrentMap.java

        return delegate().remove(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public V replace(K key, V value) {
        return delegate().replace(key, value);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, V oldValue, V newValue) {
        return delegate().replace(key, oldValue, newValue);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  3. src/main/webapp/js/admin/plugins/form-validator/sanitize.js

    unction(a){return a.toLocaleLowerCase()},trim:function(b){return a.trim(b)},trimLeft:function(a){return a.replace(/^\s+/,"")},trimRight:function(a){return a.replace(/\s+$/,"")},capitalize:function(b){var c=b.split(" ");return a.each(c,function(a,b){c[a]=b.substr(0,1).toUpperCase()+b.substr(1,b.length)}),c.join(" ")},insert:function(a,b,c){var d=(b.attr("data-sanitize-insert-"+c)||"").replace(/\[SPACE\]/g," ");return"left"===c&&0===a.indexOf(d)||"right"===c&&a.substring(a.length-d.length)===d?a:(...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 2.7K bytes
    - Viewed (0)
  4. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, user2, "Manager", 1, "AfterAppend")
    
    	// Replace
    	company2 := Company{Name: "company-belongs-to-replace"}
    	manager2 := GetUser("manager-belongs-to-replace", Config{})
    
    	if err := DB.Model(&user2).Association("Company").Replace(&company2); err != nil {
    		t.Fatalf("Error happened when replace Company, got %v", err)
    	}
    
    	if company2.ID == 0 {
    		t.Fatalf("Company's ID should be created")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/ParamMap.java

        }
    
        @Override
        public boolean replace(final K key, final V oldValue, final V newValue) {
            if (parent.replace(key, oldValue, newValue)) {
                return true;
            }
            return parent.replace(key, oldValue, newValue);
        }
    
        @Override
        public V replace(final K key, final V value) {
            // use original key
            return parent.replace(key, value);
        }
    
        @Override
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
            assertEquals("2", "1234ef", StringUtil.replace("12345", "5", "ef"));
            assertEquals("3", "ab2345", StringUtil.replace("12345", "1", "ab"));
            assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a"));
            assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. schema/naming_test.go

    }
    
    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)
    				return strings.NewReplacer("CID", "_Cid").Replace(replaced)
    			},
    		},
    		NoLowerCase: false,
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

      public void testReplaceEntry_supportedPresent() {
        assertTrue(getMap().replace(k0(), v0(), v3()));
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_supportedPresentUnchanged() {
        assertTrue(getMap().replace(k0(), v0(), v0()));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertNull(map.putIfAbsent(three, one));
        assertSame(one, map.get(three));
        assertSame(two, map.replace(one, three));
        assertSame(three, map.get(one));
        assertFalse(map.replace(one, two, three));
        assertSame(three, map.get(one));
        assertTrue(map.replace(one, three, two));
        assertSame(two, map.get(one));
        assertEquals(3, map.size());
    
        map.clear();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/KuromojiCSVUtil.java

            // Unquote
            if (result.indexOf('\"') >= 0) {
                final Matcher m = QUOTE_REPLACE_PATTERN.matcher(original);
                if (m.matches()) {
                    result = m.group(1);
                }
    
                // Unescape
                if (result.indexOf(ESCAPED_QUOTE) >= 0) {
                    result = result.replace(ESCAPED_QUOTE, "\"");
                }
            }
    
            return result;
    
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
Back to top