Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 643 for REPLACE (0.06 seconds)

  1. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        Reader reader = new StringReader(srcString);
    
        StringWriter writer = new StringWriter();
    
        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. Vagrantfile

            cat \<\<SOURCE_PROMPT >> ~/.bashrc
    # Replace the standard prompt with a consistent one
    source /etc/profile.d/elasticsearch_prompt.sh
    SOURCE_PROMPT
          grep 'source /etc/profile.d/elasticsearch_prompt.sh' ~vagrant/.bashrc |
            cat \<\<SOURCE_PROMPT >> ~vagrant/.bashrc
    # Replace the standard prompt with a consistent one
    source /etc/profile.d/elasticsearch_prompt.sh
    SOURCE_PROMPT
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 14.9K bytes
    - Click Count (0)
  3. src/bytes/bytes_test.go

    			}
    			if len(old) == 0 && n != 0 {
    				out.Write(new)
    			}
    			return out.Bytes()
    		}
    		if simple, replace := differentImpl(in, old, new, n), Replace(in, old, new, n); !slices.Equal(simple, replace) {
    			t.Errorf("The two implementations do not match %q != %q for Replace(%q, %q, %q, %d)", simple, replace, in, old, new, n)
    		}
    	})
    }
    
    func BenchmarkReplace(b *testing.B) {
    	for _, tt := range ReplaceTests {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:07:05 GMT 2026
    - 62.9K bytes
    - Click Count (0)
  4. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy

            String coreTest = "foo/10_basic.yml"
            String xpackTest = "bar/10_basic.yml"
            setupRestResources([apiCore1, apiCore2, apiXpack], [coreTest], [xpackTest])
    
            // drop a value to replace from expansions above into a test file
            file("rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/" + coreTest) << "@replacedValue@"
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 20 21:05:16 GMT 2021
    - 7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            }
    
            return bySyntax;
        }
    
        private static ClassLoader initializeDocLoader() throws ExpressionDocumentationException {
            String myResourcePath = ExpressionDocumenter.class.getName().replace('.', '/') + ".class";
    
            URL myResource = ExpressionDocumenter.class.getClassLoader().getResource(myResourcePath);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  6. internal/s3select/sql/record.go

    	// Clone the record and if possible use the destination provided.
    	Clone(dst Record) Record
    	Reset()
    
    	// Returns underlying representation
    	Raw() (SelectObjectFormat, any)
    
    	// Replaces the underlying data
    	Replace(k any) error
    }
    
    // IterToValue converts a simdjson Iter to its underlying value.
    // Objects are returned as simdjson.Object
    // Arrays are returned as []interface{} with parsed values.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. cmd/handler-utils.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/mcontext"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	copyDirective    = "COPY"
    	replaceDirective = "REPLACE"
    	accessDirective  = "ACCESS"
    )
    
    // Parses location constraint from the incoming reader.
    func parseLocationConstraint(r *http.Request) (location string, s3Error APIErrorCode) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  8. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                if (uncPath.equals("\\")) {
                    // context share != null, so the remainder is path
                    this.unc = '\\' + name.replace('/', '\\') + (trailingSlash ? "\\" : "");
                } else {
                    this.unc = uncPath + name.replace('/', '\\') + (trailingSlash ? "\\" : "");
                }
                this.canon = context.getURLPath() + name + (trailingSlash ? "/" : "");
                this.share = shr;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 23.6K bytes
    - Click Count (0)
  9. internal/handlers/proxy.go

    	xForwardedScheme = http.CanonicalHeaderKey("X-Forwarded-Scheme")
    	xRealIP          = http.CanonicalHeaderKey("X-Real-IP")
    )
    
    var (
    	// RFC7239 defines a new "Forwarded: " header designed to replace the
    	// existing use of X-Forwarded-* headers.
    	// e.g. Forwarded: for=192.0.2.60;proto=https;by=203.0.113.43
    	forwarded = http.CanonicalHeaderKey("Forwarded")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/SmbResourceLocatorTest.java

                    this.path = remaining.substring(slashIndex);
                }
    
                // canonical form: remove . and .. but nothing fancy
                this.canonical = urlStr.replace("..", "").replace(".", "");
            }
    
            @Override
            public String getName() {
                if (path == null || path.isEmpty() || path.equals("/")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top