- Sort Score
- Result 10 results
- Languages All
Results 801 - 810 of 1,396 for upsert (0.06 sec)
-
guava-tests/test/com/google/common/util/concurrent/ServiceTest.java
import java.util.Locale; import junit.framework.TestCase; /** Unit tests for {@link Service} */ public class ServiceTest extends TestCase { /** Assert on the comparison ordering of the State enum since we guarantee it. */ public void testStateOrdering() { // List every valid (direct) state transition. assertLessThan(NEW, STARTING); assertLessThan(NEW, TERMINATED);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StopwordsService.java
} public void store(final String dictId, final StopwordsItem stopwordsItem) { getStopwordsFile(dictId).ifPresent(file -> { if (stopwordsItem.getId() == 0) { file.insert(stopwordsItem); } else { file.update(stopwordsItem); } }); } public void delete(final String dictId, final StopwordsItem stopwordsItem) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/SynonymService.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count); treeMultiset.add(value, count); } // TODO(kevinb): convert to assert once benchmark tests enable asserts by default Preconditions.checkState(hashMultiset.size() == size); } @Benchmark int hashMultiset(int reps) { int sum = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java
sizeRemaining -= count; hashMultiset.add(value, count); linkedHashMultiset.add(value, count); treeMultiset.add(value, count); } // TODO(kevinb): convert to assert once benchmark tests enable asserts by default Preconditions.checkState(hashMultiset.size() == size); } @Benchmark int hashMultiset(int reps) { int sum = 0; for (int i = 0; i < reps; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 2.7K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1alpha1/generated.proto
// compares the MaximumVolumeSize against the requested size of pending volumes // to filter out unsuitable nodes. If MaximumVolumeSize is unset, it falls back // to a comparison against the less precise Capacity. If that is also unset, // the scheduler assumes that capacity is insufficient and tries some other // node. message CSIStorageCapacity {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.convert; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import org.codelibs.core.exception.ClIllegalArgumentException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author wyukawa * */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/IssueManagementTest.java
IssueManagement im = new IssueManagement(); im.setSystem("Velociraptor"); im.setUrl("https://velo.localdomain"); String s = im.toString(); assert "IssueManagement {system=Velociraptor, url=https://velo.localdomain}".equals(s) : s; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
import static java.lang.Double.POSITIVE_INFINITY; import static java.math.RoundingMode.CEILING; import static java.math.RoundingMode.FLOOR; import static java.math.RoundingMode.UNNECESSARY; import static org.junit.Assert.assertThrows; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Ordering; import com.google.common.math.Quantiles.ScaleAndIndexes;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 29.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
import static com.google.common.base.Preconditions.checkNotNull; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.NANOSECONDS; import static junit.framework.Assert.fail; import com.google.common.testing.TearDown; import com.google.common.testing.TearDownAccepter; import java.util.concurrent.TimeUnit; import java.util.logging.Logger; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.4K bytes - Viewed (0)