Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 401 for replaced (0.12 seconds)

  1. 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,
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue May 30 02:00:48 GMT 2023
    - 7K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @param map The map containing key-value pairs to be interpolated.
         * @param callback The function to resolve variable values not found in the map.
         * @param defaultsToEmpty If true, unresolved placeholders are replaced with empty strings. If false, they are left unchanged.
         */
        default void interpolate(
                @Nonnull Map<String, String> map, @Nullable UnaryOperator<String> callback, boolean defaultsToEmpty) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. ci/official/utilities/windows.sh

    #
    # Windows-specific utilities.
    #
    
    # Docker on Windows has difficulty using volumes other than C:\, when it comes
    # to setting up up volume mappings.
    # Thus, the drive letter is replaced with the passed prefix.
    # If no prefix is passed, by default, it's replaced with C:\, in case it's
    # something else (ex. T:), which is a volume used in internal CI.
    function replace_drive_letter_with_prefix () {
      local path_prefix
      if [[ -z "$2" ]]; then
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Jan 09 18:37:25 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. cmd/storage-interface.go

    	GetDiskID() (string, error)
    
    	// Set a unique 'uuid' for this disk, only used when
    	// disk is replaced and formatted.
    	SetDiskID(id string)
    
    	// Returns healing information for a newly replaced disk,
    	// returns 'nil' once healing is complete or if the disk
    	// has never been replaced.
    	Healing() *healingTracker
    	DiskInfo(ctx context.Context, opts DiskInfoOptions) (info DiskInfo, err error)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

            return metaData.deprecated && !referringClass.deprecated
        }
    
        boolean isIncubating() {
            return metaData.incubating || metaData.ownerClass.incubating
        }
    
        boolean isReplaced() {
            return metaData.replaced
        }
    
        @Override
        String getReplacement() {
            return metaData.replacement
        }
    
        Element getDescription() {
            return comment.find { it.nodeName == 'para' }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 08:14:29 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            }
        }
    
        /**
         * @deprecated Replaced by {@code addSourceRoot(ProjectScope.MAIN, Language.JAVA_FAMILY, path)}.
         */
        @Deprecated(since = "4.0.0")
        public void addCompileSourceRoot(String path) {
            addSourceRoot(ProjectScope.MAIN, Language.JAVA_FAMILY, path);
        }
    
        /**
         * @deprecated Replaced by {@code removeSourceRoot(ProjectScope.MAIN, Language.JAVA_FAMILY, path)}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  7. cmd/xl-storage-meta-inline.go

    	return int(sz)
    }
    
    // replace will add or replace a key/value pair.
    func (x *xlMetaInlineData) replace(key string, value []byte) {
    	in := x.afterVersion()
    	sz, buf, _ := msgp.ReadMapHeaderBytes(in)
    	keys := make([][]byte, 0, sz+1)
    	vals := make([][]byte, 0, sz+1)
    
    	// Version plus header...
    	plSize := 1 + msgp.MapHeaderSize
    	replaced := false
    	for range sz {
    		var found, foundVal []byte
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java

         * each {@code Artifact} is associated to a specific version instead of a range of versions.
         * If the {@linkplain #getBaseVersion() base version} contains a meta-version such as {@code SNAPSHOT},
         * those keywords are replaced by, for example, the actual timestamp.
         *
         * @see ArtifactCoordinates#getVersionConstraint()
         */
        @Nonnull
        Version getVersion();
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 26 07:56:58 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. internal/lock/lock_windows_test.go

    	for _, test := range []struct{ in, want string }{
    		// Short; unchanged:
    		{`C:\short.txt`, `C:\short.txt`},
    		{`C:\`, `C:\`},
    		{`C:`, `C:`},
    		// The "long" substring is replaced by a looooooong
    		// string which triggers the rewriting. Except in the
    		// cases below where it doesn't.
    		{`C:\long\foo.txt`, `\\?\C:\long\foo.txt`},
    		{`C:/long/foo.txt`, `\\?\C:\long\foo.txt`},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  10. internal/grid/grid.go

    var internal32KByteBuffer = bpool.Pool[*[]byte]{
    	New: func() *[]byte {
    		m := make([]byte, 0, biggerBufMin)
    		return &m
    	},
    }
    
    // GetByteBuffer can be replaced with a function that returns a small
    // byte buffer.
    // When replacing PutByteBuffer should also be replaced
    // There is no minimum size.
    var GetByteBuffer = func() []byte {
    	b := *internalByteBuffer.Get()
    	return b[:0]
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top