Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 672 for Replace (0.06 seconds)

  1. build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportAggregationWorkAction.kt

                        }
                    }
                }
            }
        }
    
        private
        fun String.urlEncodeSpace() = replace(" ", "%20")
    
        private
        fun String.escape() = replace("<", "&lt;").replace(">", "&gt;")
    }
    
    data class Problem(
        val name: String,
        val relativePath: String,
        val lineNumber: Int
    )
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Jun 02 09:57:54 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

        classFilePath
            .removeSuffix(CLASS_FILE_EXTENSION)
            .removeSuffix("Kt")
            .replace(slashOrDollar, ".")
    
    
    // visible for testing
    fun classFilePathCandidatesFor(sourceName: String): Sequence<String> =
        sourceName.replace(".", "/").let { path ->
            candidateClassFiles(path) + nestedClassFilePathCandidatesFor(path)
        }
    
    
    private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  3. internal/config/errors-utils.go

    	}
    	return u.detail
    }
    
    // Msg - Replace the current error's message
    func (u Err) Msg(m string) Err {
    	e := u.Clone()
    	e.msg = m
    	return e
    }
    
    // Msgf - Replace the current error's message
    func (u Err) Msgf(m string, args ...any) Err {
    	e := u.Clone()
    	if len(args) == 0 {
    		e.msg = m
    	} else {
    		e.msg = fmt.Sprintf(m, args...)
    	}
    	return e
    }
    
    // Hint - Replace the current error's message
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. internal/s3select/csv/record.go

    }
    
    // Raw - returns the underlying data with format info.
    func (r *Record) Raw() (sql.SelectObjectFormat, any) {
    	return sql.SelectFmtCSV, r
    }
    
    // Replace - is not supported for CSV
    func (r *Record) Replace(_ any) error {
    	return errors.New("Replace is not supported for CSV")
    }
    
    // NewRecord - creates new CSV record.
    func NewRecord() *Record {
    	return &Record{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

         */
        @Deprecated
        public File getPomFile() {
            return getFile();
        }
    
        @Override
        public ModelSource2 getRelatedSource(String relPath) {
            relPath = relPath.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
            Path relatedPom = getPath().getParent().resolve(relPath);
    
            if (Files.isDirectory(relatedPom)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            String result = path;
    
            if (path != null && basedir != null) {
                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        cache.put(10, 100);
        cache.put(2, 52);
    
        asMap.replace(2, 79);
        asMap.replace(3, 60);
    
        assertThat(cache.getIfPresent(3)).isNull();
        assertThat(asMap.get(3)).isNull();
    
        assertThat(cache.getIfPresent(2)).isEqualTo(79);
        assertThat(asMap.get(2)).isEqualTo(79);
    
        asMap.replace(10, 100, 50);
        asMap.replace(2, 52, 99);
    
        assertThat(cache.getIfPresent(10)).isEqualTo(50);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. internal/s3select/sql/statement.go

    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}}
    		}
    
    		if err = input.Replace(kvs); err != nil {
    			return nil, err
    		}
    
    		return []*Record{&input}, nil
    	case simdjson.Object:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9K bytes
    - Click Count (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

            includes.map {
                if (it.endsWith("/**")) {
                    Pattern.compile(it.substring(0, it.length - 3).replace("/", "\\.") + "(\\..+)?")
                } else {
                    Pattern.compile(it.substring(0, it.length - 2).replace("/", "\\.") + "\\.[^.]+")
                }
            }
        }
    
        private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jun 12 23:20:08 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                        // we're going to parse this back in as XML so we need to escape XML markup
                        value = value.toString()
                                .replace("&", "&amp;")
                                .replace("<", "&lt;")
                                .replace(">", "&gt;");
                        return value;
                    }
                    return null;
                }
            });
    
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top