Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 184 for replaceable (0.24 sec)

  1. src/cmd/dist/buildtool.go

    					path = "bootstrap/" + dir
    					break
    				}
    			}
    		}
    
    		// Rewrite use of internal/reflectlite to be plain reflect.
    		if path == "internal/reflectlite" {
    			lines[i] = strings.ReplaceAll(line, `"reflect"`, `reflectlite "reflect"`)
    			continue
    		}
    
    		// Otherwise, reject direct imports of internal packages,
    		// since that implies knowledge of internal details that might
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativePreCompiledHeaderIntegrationTest.groovy

                def newContent = it.content.replaceAll("#include \"common.h\"", "#include \"${headerPath}common.h\"")
                new SourceFile(it.path, it.name, newContent)
            }
        }
    
        static SourceFile replaceInSourceFile(SourceFile sourceFile, String text, String replacement) {
            new SourceFile(sourceFile.path, sourceFile.name, sourceFile.content.replaceAll(text, replacement))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubeletconfig/util/files/files_test.go

    // Note: This transitively tests WriteTmpFile
    func TestReplaceFile(t *testing.T) {
    	fn := func(fs utilfs.Filesystem, dir string, c *test) []error {
    		var errs []error
    		for _, f := range c.expects {
    			if err := ReplaceFile(fs, filepath.Join(dir, f.name), []byte(f.data)); err != nil {
    				errs = append(errs, err)
    			}
    		}
    		return errs
    	}
    	cases := []test{
    		{
    			fn:      fn,
    			desc:    "file exists",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractBiMap.java

        for (Entry<? extends K, ? extends V> entry : map.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
        this.delegate.replaceAll(function);
        inverse.delegate.clear();
        Entry<K, V> broken = null;
        Iterator<Entry<K, V>> itr = this.delegate.entrySet().iterator();
        while (itr.hasNext()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. src/cmd/go/proxy_test.go

    		name := f.Name()
    		if !strings.HasSuffix(name, ".txt") {
    			continue
    		}
    		name = strings.TrimSuffix(name, ".txt")
    		i := strings.LastIndex(name, "_v")
    		if i < 0 {
    			continue
    		}
    		encPath := strings.ReplaceAll(name[:i], "_", "/")
    		path, err := module.UnescapePath(encPath)
    		if err != nil {
    			if testing.Verbose() && encPath != "example.com/invalidpath/v1" {
    				fmt.Fprintf(os.Stderr, "go proxy_test: %v\n", err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 09:56:24 UTC 2023
    - 12K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        @Override
        NavigableMap<K, V> forward() {
          return ForwardingNavigableMap.this;
        }
    
        @Override
        public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
          forward().replaceAll(function);
        }
    
        @Override
        protected Iterator<Entry<K, V>> entryIterator() {
          return new Iterator<Entry<K, V>>() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 15 18:11:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. tests/integration/helm/upgrade/util.go

    func deleteIstioRevision(h *helm.Helm, revision string) error {
    	scopes.Framework.Infof("cleaning up revision resources (%s)", revision)
    	name := helmtest.IstiodReleaseName + "-" + strings.ReplaceAll(revision, ".", "-")
    	if err := h.DeleteChart(name, helmtest.IstioNamespace); err != nil {
    		return fmt.Errorf("failed to delete revision (%s)", name)
    	}
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIvyPublishIntegrationTest.groovy

                return ''
            }
            return repositoryFile.text
        }
    
        private String clearLastUpdatedElementOf(String metadata) {
            metadata.replaceAll(
                "<lastUpdated>\\d+</lastUpdated>",
                "<lastUpdated />"
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            given:
            def extraSource = file("src/main/${app.sourceType}/extra.${app.sourceExtension}")
            extraSource << sourceFile.text.replaceAll("main", "main2")
    
            outputs.snapshot { run "mainExecutable" }
    
            objectFileFor(extraSource).assertExists()
    
            when:
            sourceFile << """
                // Changed source file
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                        && responseData.getContentLength() <= fessConfig.getCrawlerDocumentCacheMaxSizeAsInteger().longValue()) {
    
                    final String cache = content.trim().replaceAll("[ \\t\\x0B\\f]+", " ");
                    // text cache
                    putResultDataBody(dataMap, fessConfig.getIndexFieldCache(), cache);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top