Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for replaceAll (0.21 sec)

  1. logger/sql.go

    			case reflect.String:
    				vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper
    			default:
    				if v != nil && reflectValue.IsValid() && ((reflectValue.Kind() == reflect.Ptr && !reflectValue.IsNil()) || reflectValue.Kind() != reflect.Ptr) {
    					vars[idx] = escaper + strings.ReplaceAll(fmt.Sprintf("%v", v), escaper, escaper+escaper) + escaper
    				} else {
    					vars[idx] = nullStr
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

      public void testReplaceAll_unsupported() {
        try {
          getMap()
              .replaceAll(
                  (K k, V v) -> {
                    int index = keys().asList().indexOf(k);
                    return values().asList().get(index + 1);
                  });
          fail(
              "replaceAll() should throw UnsupportedOperation if a map does "
                  + "not support it and is not empty.");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll() {
        getList().replaceAll(e -> samples.e3());
        expectContents(Collections.nCopies(getNumElements(), samples.e3()));
      }
    
      @ListFeature.Require(SUPPORTS_SET)
      public void testReplaceAll_changesSome() {
        getList().replaceAll(e -> e.equals(samples.e0()) ? samples.e3() : e);
        E[] expected = createSamplesArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 28 16:27:15 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/entity/GeoInfoTest.java

            assertEquals(result, geoInfo.toQueryBuilder().toString().replaceAll("[ \n]", ""));
        }
    
        public void test_34_150_10_x() {
            MockletHttpServletRequest request = getMockRequest();
            request.setParameter("geo.location.x.point", "34,150");
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/JdkPattern.java

          return matcher.find();
        }
    
        @Override
        public boolean find(int index) {
          return matcher.find(index);
        }
    
        @Override
        public String replaceAll(String replacement) {
          return matcher.replaceAll(replacement);
        }
    
        @Override
        public int end() {
          return matcher.end();
        }
    
        @Override
        public int start() {
          return matcher.start();
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. cni/pkg/install/cniconfig.go

    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__LOG_LEVEL__", vars.logLevel)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__LOG_UDS_ADDRESS__", vars.logUDSAddress)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__CNI_EVENT_ADDRESS__", vars.cniEventAddress)
    	cniConfigStr = strings.ReplaceAll(cniConfigStr, "__KUBECONFIG_FILENAME__", vars.kubeconfigFilename)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    buf.append('\t').append("action:begin");
                    buf.append('\t').append("error:").append(escapeValue(e.getLocalizedMessage()).replaceAll("\\s", " "));
                    log(buf);
                }
            });
        }
    
        public void record(final Object keyObj, final StatsAction action) {
            record(keyObj, action.name().toLowerCase(Locale.ENGLISH));
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  8. schema/naming.go

    	} else {
    		buf.WriteByte(value[len(value)-1])
    	}
    	ret := buf.String()
    	return ret
    }
    
    func (ns NamingStrategy) toSchemaName(name string) string {
    	result := strings.ReplaceAll(strings.Title(strings.ReplaceAll(name, "_", " ")), " ", "")
    	for _, initialism := range commonInitialisms {
    		result = regexp.MustCompile(strings.Title(strings.ToLower(initialism))+"([A-Z]|$|_)").ReplaceAllString(result, initialism+"$1")
    	}
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream_gif() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

    }
    
    static List<String> toPatterns(List<String> packages) {
        packages.collect {
            it.replaceAll('\\*\\*', '###')
                .replaceAll('/\\*', '/[A-Z][a-z_A-Z0-9]+')
                .replaceAll('$', '\\$')
                .replaceAll('/', '[.]')
                .replaceAll('###', '.*?')
        }
    }
    
    private String writeFilterPreset(Project project) {
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Apr 11 12:20:44 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top