Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 742 for replace (1.69 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.get(three)).isSameInstanceAs(one);
        assertThat(map.replace(one, three)).isSameInstanceAs(two);
        assertThat(map.get(one)).isSameInstanceAs(three);
        assertThat(map.replace(one, two, three)).isFalse();
        assertThat(map.get(one)).isSameInstanceAs(three);
        assertThat(map.replace(one, three, two)).isTrue();
        assertThat(map.get(one)).isSameInstanceAs(two);
        assertThat(map).hasSize(3);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

        return when {
          type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> {
            result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation.
          }
          type == TYPE_DATA && flags and FLAG_COMPRESSED != 0 -> {
            result.replace("PRIORITY", "COMPRESSED") // TODO: Avoid allocation.
          }
          else -> result
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. tests/callbacks_test.go

    				callMethod(v, "After", c.after)
    			}
    
    			if c.match != nil {
    				callMethod(v, "Match", c.match)
    			}
    
    			if c.remove {
    				callMethod(v, "Remove", c.name)
    			} else if c.replace {
    				callMethod(v, "Replace", c.name, c.h)
    			} else {
    				callMethod(v, "Register", c.name, c.h)
    			}
    
    			if e, ok := v.(error); !ok || e != nil {
    				err = e
    			}
    		}
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Mar 26 03:33:36 UTC 2024
    - 7.2K bytes
    - Viewed (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{}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

        }
    
        /**
         * Replaces credentials in the given value.
         * @param credentials The credentials.
         * @param value The value to replace.
         * @return The value with credentials replaced.
         */
        protected String replaceCredentials(final Credentials credentials, final String value) {
            if (StringUtil.isNotBlank(value)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java

        }
    
        @Override
        protected boolean isIgnoredProperty(String strValue) {
            if (!strValue.startsWith("${")) {
                return false;
            }
    
            String propertyName = strValue.replace("${", "").replace("}", "");
    
            if (IGNORED_PROPERTY_VALUES.contains(propertyName)) {
                return true;
            }
    
            return IGNORED_PROPERTY_PREFIX.stream().anyMatch(propertyName::startsWith);
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

        val entryPoints: MutableSet<ClassDetails> = linkedSetOf()
    
        val shadowPackagePrefix =
            shadowPackage.takeIf(String::isNotEmpty)
                ?.let { it.replace('.', '/') + "/" }
                ?: ""
    
        operator fun get(className: String) =
            classes.computeIfAbsent(className) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. 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
    )
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Jun 02 09:57:54 UTC 2025
    - 5.2K bytes
    - Viewed (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(\\..+)?"))
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

            }
    
            @Test
            @DisplayName("Should replace entry in cache map")
            void testReplaceCacheWithMap() {
                String key = "test-key";
    
                // Setup concrete implementation
                concreteImplementation.setKey(key);
                concreteImplementation.setCacheMap(cacheMap);
    
                // Execute replace
                concreteImplementation.replaceCache();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top