- Sort Score
- Result 10 results
- Languages All
Results 1601 - 1610 of 3,402 for rint (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
} public void testAllocArraysExpectedSize() { for (int i = 0; i <= CompactHashing.DEFAULT_SIZE; i++) { CompactHashSet<Integer> set = CompactHashSet.createWithExpectedSize(i); assertThat(set.needsAllocArrays()).isTrue(); assertThat(set.elements).isNull(); set.add(1); assertThat(set.needsAllocArrays()).isFalse(); int expectedSize = max(1, i);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 3.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
} catch (final IOException exception) { throw new NTLMEngineException("Invalid NTLM type 2 message", exception); } final int type2Flags = type2Message.getFlags(); final int type3Flags = type2Flags & (0xffffffff ^ (NtlmFlags.NTLMSSP_TARGET_TYPE_DOMAIN | NtlmFlags.NTLMSSP_TARGET_TYPE_SERVER)); try { final Type3Message type3Message =
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.1K bytes - Viewed (0) -
ci/official/utilities/rename_and_verify_wheels.sh
fi "$python" -m pip install *.whl $TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS if [[ "$TFCI_WHL_IMPORT_TEST_ENABLE" == "1" ]]; then "$python" -c 'import tensorflow as tf; t1=tf.constant([1,2,3,4]); t2=tf.constant([5,6,7,8]); print(tf.add(t1,t2).shape)' "$python" -c 'import sys; import tensorflow as tf; sys.exit(0 if "keras" in tf.keras.__name__ else 1)' fi # Import tf nightly wheel built with numpy2 from PyPI in numpy1 env for testing.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 02 21:18:17 UTC 2024 - 4.3K bytes - Viewed (0) -
tests/test_http_connection_injection.py
return conn.app.state.value @app.get("/http") async def get_value_by_http(value: int = Depends(extract_value_from_http_connection)): return value @app.websocket("/ws") async def get_value_by_ws( websocket: WebSocket, value: int = Depends(extract_value_from_http_connection) ): await websocket.accept() await websocket.send_json(value) await websocket.close()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 13:56:41 UTC 2020 - 972 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p4/p4.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p4 type Pair[T1 interface{ M() }, T2 ~int] struct { f1 T1 f2 T2 } func NewPair[T1 interface{ M() }, T2 ~int](v1 T1, v2 T2) Pair[T1, T2] { return Pair[T1, T2]{f1: v1, f2: v2} } func (p Pair[X1, _]) First() X1 { return p.f1 } func (p Pair[_, X2]) Second() X2 { return p.f2
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Dec 02 16:29:41 UTC 2022 - 552 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredKeyMultimap.java
return unfiltered; } @Override public Predicate<? super Entry<K, V>> entryPredicate() { return Maps.keyPredicateOnEntries(keyPredicate); } @Override public int size() { int size = 0; for (Collection<V> collection : asMap().values()) { size += collection.size(); } return size; } @Override public boolean containsKey(@CheckForNull Object key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
* * @author higa * @see TimeConversionUtil * @see TimestampConversionUtil */ public abstract class DateConversionUtil { /** {@link DateFormat}が持つスタイルの配列 */ protected static final int[] STYLES = new int[] { SHORT, MEDIUM, LONG, FULL }; /** * デフォルロケールで{@link DateFormat#SHORT}スタイルのパターン文字列を返します。 * * @return {@link DateFormat#SHORT}スタイルのパターン文字列 */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
for (CharSource in : BROKEN_SOURCES) { int suppressed = runSuppressionFailureTest(in, newNormalCharSink()); assertEquals(0, suppressed); suppressed = runSuppressionFailureTest(in, BROKEN_CLOSE_SINK); assertEquals((in == BROKEN_OPEN_SOURCE) ? 0 : 1, suppressed); } for (CharSink out : BROKEN_SINKS) { int suppressed = runSuppressionFailureTest(newNormalCharSource(), out);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
* @throws Exception */ @Test public void testPerformance() throws Exception { int num = 100000; Map<String, Object> hmap = new HashMap<String, Object>(); Map<String, Object> amap = new ArrayMap<String, Object>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put(String.valueOf(i), null); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 13 14:30:51 UTC 2023 - 4.4K bytes - Viewed (0)