Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 557 for REPLACE (0.29 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
      @CollectionSize.Require(absent = ZERO)
      public void testPutIfAbsent_replacesNullValue() {
        initMapWithNullValue();
    
        // putIfAbsent should replace the null value with the new value
        assertNull(
            "putIfAbsent(existingKeyWithNullValue, value) should return null",
            getMap().putIfAbsent(getKeyForNullValue(), v3()));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 02:04:51 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. 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.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should not replace cache when map is null")
            void testReplaceCacheWithNullMap() {
                referralData.setKey("key");
                // Should not throw exception
                referralData.replaceCache();
            }
    
            @Test
            @DisplayName("Should not replace cache when key is null")
            void testReplaceCacheWithNullKey() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

              // we can just do that work here.
              AtomicInteger newCounter = new AtomicInteger(occurrences);
              if ((countMap.putIfAbsent(element, newCounter) == null)
                  || countMap.replace(element, existingCounter, newCounter)) {
                return 0;
              }
              break;
            }
          }
    
          // If we're still here, there was a race, so just try again.
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * currently in the map, or if {@code key} is not in the map at all.
       */
      boolean replace(K key, long expectedOldValue, long newValue) {
        if (expectedOldValue == 0L) {
          return putIfAbsent(key, newValue) == 0L;
        } else {
          return map.replace(key, expectedOldValue, newValue);
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. .github/workflows/CheckBadMerge.groovy

        }
    
        static List<String> branchesOf(String commit) {
            return getStdout("git branch -r --contains $commit")
                .readLines()
                .collect { it.replace("*", "") } // remove the * from the current branch, e.g. * master -> master
                .collect { it.trim() }
                .grep { !it.isEmpty() }
        }
    
        static List<String> parentCommitsOf(String commit) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun <T : NodeWithSimpleName<*>> T.matchesName(candidateName: String) =
        matchesName(name.asString(), candidateName)
    
    
    private
    fun matchesName(name: String, candidateName: String) =
        name == candidateName.replace(".*\\$".toRegex(), "") // strip outer class names
    
    private
    val SINCE_REGEX = Regex("""@since ([^\s]+)""")
    
    private
    fun BodyDeclaration<*>.getSince(): String? =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 06 17:52:09 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/HasKotlinFlagsMetadataQuery.kt

            else -> false
        }
    }
    
    
    private
    fun hasTypeAttribute(kmClass: KmClass, jvmSignature: String, predicate: AttributePredicate): Boolean =
        when (jvmSignature) {
            kmClass.name.replace("/", ".") -> predicate.match(kmClass)
            else -> false
        }
    
    
    private
    fun hasConstructorAttribute(constructorsSupplier: Supplier<MutableList<KmConstructor>>, jvmSignature: String, predicate: AttributePredicate) =
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jul 04 09:21:38 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            }
        }
    }
    
    fun javaHome(
        jvm: Jvm,
        os: Os,
        arch: Arch = Arch.AMD64,
    ) = "%${if (os == Os.ALPINE) "linux" else os.name.lowercase()}.${
        jvm.version.name.lowercase().replace(
            "_",
            "",
        )
    }.${jvm.vendor.name.lowercase()}.${arch.suffix}%"
    
    fun BuildType.paramsForBuildToolBuild(
        buildJvm: Jvm = BuildToolBuildJvm,
        os: Os,
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Dec 22 07:15:16 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top