- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 315 for has_value (0.06 sec)
-
tensorflow/c/c_api_experimental_test.cc
TF_NewShapeAndTypeList(input_shapes_vec.size()); for (size_t i = 0; i < input_shapes_vec.size(); ++i) { const auto& input_shape = input_shapes_vec[i]; if (input_shape.has_value()) { TF_ShapeAndTypeListSetShape(input_shapes, i, input_shape->data(), input_shape->size()); } else { TF_ShapeAndTypeListSetUnknownShape(input_shapes, i);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/c_api.cc
tensorflow::EvaluateConstantTensorRunner{ graph->graph.op_registry(), graph->graph.versions().producer(), }); if (!status_or.ok() || !status_or->has_value()) { *result = nullptr; status->status = std::move(status_or).status(); return false; } *result = TF_TensorFromTensor(**status_or, &status->status); return status->status.ok(); }
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Tue May 13 06:30:43 UTC 2025 - 102.3K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// Trigger integer overflow prevention try { validator.safeAdd(Integer.MAX_VALUE, Integer.MAX_VALUE); } catch (SmbException e) { // Expected } try { validator.safeMultiply(Integer.MAX_VALUE, 2); } catch (SmbException e) { // Expected }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
when(negotiationResponse.getSendBufferSize()).thenReturn(Integer.MAX_VALUE); when(negotiationResponse.getReceiveBufferSize()).thenReturn(Integer.MAX_VALUE); when(negotiationResponse.getTransactionBufferSize()).thenReturn(Integer.MAX_VALUE); assertEquals(Integer.MAX_VALUE, negotiationResponse.getSendBufferSize()); assertEquals(Integer.MAX_VALUE, negotiationResponse.getReceiveBufferSize());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
internal fun Long.commonClampToInt(): Int = when { this > Int.MAX_VALUE -> Int.MAX_VALUE else -> toInt() } internal fun CacheControl.Companion.commonForceNetwork() = CacheControl .Builder() .noCache() .build() internal fun CacheControl.Companion.commonForceCache() = CacheControl .Builder() .onlyIfCached() .maxStale(Int.MAX_VALUE.seconds) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java
assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertEquals("EndOfFileInformation[endOfFile=0]", info2.toString()); // Test max value FileEndOfFileInformation info3 = new FileEndOfFileInformation(Long.MAX_VALUE); assertEquals("EndOfFileInformation[endOfFile=" + Long.MAX_VALUE + "]", info3.toString()); } @Test @DisplayName("Test multiple encode operations") void testMultipleEncodeOperations() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// Given byte[] maxKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(maxKey, (byte) 0xFF); SrvCopychunk chunk = new SrvCopychunk(Long.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE); SrvCopychunkCopy copy = new SrvCopychunkCopy(maxKey, chunk); byte[] buffer = new byte[100]; // When int bytesWritten = copy.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (0)