- Sort Score
- Result 10 results
- Languages All
Results 1941 - 1950 of 2,937 for rint (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
try { multiset.add(sampleElement, 2); fail("add(Object, int) succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { } assertCollectionsAreEquivalent(multiset, copy); try { multiset.remove(sampleElement, 2); fail("remove(Object, int) succeeded on unmodifiable collection"); } catch (UnsupportedOperationException expected) { }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 14.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
} catch (NoSuchElementException expected) { } } private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) { assertEquals(expected, permutationSet.size()); Iterator<List<T>> permutations = permutationSet.iterator(); for (int i = 0; i < expected; i++) { assertTrue(permutations.hasNext()); permutations.next(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiKatakanaStemmerFactory.java
import org.opensearch.index.IndexSettings; import org.opensearch.index.analysis.AbstractTokenFilterFactory; public class KuromojiKatakanaStemmerFactory extends AbstractTokenFilterFactory { private final int minimumLength; public KuromojiKatakanaStemmerFactory(IndexSettings indexSettings, Environment environment, String name, Settings settings) { super(indexSettings, name, settings);Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
String result = scoreUpdater.execute(); assertTrue(result.contains("Runtime exception message")); } // Test large number of boosters public void test_execute_manyBoosters() { for (int i = 0; i < 100; i++) { TestScoreBooster booster = new TestScoreBooster(i); scoreUpdater.addScoreBooster(booster); } String result = scoreUpdater.execute();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
byte[] largeRequestBuffer = new byte[1024]; byte[] largeResponseBuffer = new byte[2048]; // Fill with some test data for (int i = 0; i < largeRequestBuffer.length; i++) { largeRequestBuffer[i] = (byte) (i % 256); } for (int i = 0; i < largeResponseBuffer.length; i++) { largeResponseBuffer[i] = (byte) ((i * 2) % 256); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
cmd/metrics-v2_test.go
t.Fatalf("Expected %d api=PutObject metrics but got %d", expMetricsPerAPI, len(capitalPutObjects)) } // Deterministic ordering slices.SortFunc(capitalPutObjects, func(a MetricV2, b MetricV2) int { le1 := a.VariableLabels["le"] le2 := a.VariableLabels["le"] return strings.Compare(le1, le2) }) if le := capitalPutObjects[0].VariableLabels["le"]; le != "0.500" {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
return result; } private static Object objectWithHashCode(int hashCode) { return new Object() { @Override public int hashCode() { return hashCode; } }; } // TODO b/327389044 - `Set<? extends Object> elements` should be enough but J2KT needs the <E> private static <E> void assertPowerSetHashCode(int expected, Set<E> elements) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java
ensureInitialized(); return new DisniRdmaConnection(remote, local, endpointGroup); } @Override public RdmaConnection connect(String hostname, int port) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port); RdmaConnection connection = createConnection(remoteAddress, null); connection.connect();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
*/ public AbstractIntervalController() { // NOP } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.interval.IntervalController#delay(int) */ @Override public void delay(final int type) { try { switch (type) { case PRE_PROCESSING: delayBeforeProcessing(); break; case POST_PROCESSING:Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
import jcifs.CIFSException; import jcifs.SidResolver; import jcifs.dcerpc.rpc; class SIDTest { // Helper to build a minimal sid_t private static rpc.sid_t buildSidT(byte revision, byte[] identAuth, int... subs) { rpc.sid_t s = new rpc.sid_t(); s.revision = revision; s.sub_authority_count = (byte) subs.length; s.identifier_authority = Arrays.copyOf(identAuth, 6);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)