- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for shape_1 (0.11 sec)
-
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
populatedArray.count = 3; populatedArray.s = new netdfs.DfsInfo200[3]; // Create DFS root entries String[] rootNames = { "share1", "share2", "share3" }; for (int i = 0; i < 3; i++) { netdfs.DfsInfo200 entry = new netdfs.DfsInfo200(); entry.dfs_name = rootNames[i]; populatedArray.s[i] = entry; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
// Create real ShareInfo1 objects instead of mocks srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1(); shareInfo1.netname = "Share1"; shareInfo1.type = 0; shareInfo1.remark = "Remark for Share1"; srvsvc.ShareInfo1 shareInfo2 = new srvsvc.ShareInfo1(); shareInfo2.netname = "Share2"; shareInfo2.type = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
RELEASE.md
* Tracing/timeline support for distributed runtime (no GPU profiler yet). * C API gives access to inferred shapes with `TF_GraphGetTensorNumDims` and `TF_GraphGetTensorShape`. * Shape functions for core ops have moved to C++ via `REGISTER_OP(...).SetShapeFn(...)`. Python shape inference RegisterShape calls use the C++ shape functions with `common_shapes.call_cpp_shape_fn`. A future release will remove `RegisterShape` from python.
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 20:54:38 UTC 2025 - 740K bytes - Viewed (1) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertEquals(2, response.results.length, "Should have 2 share entries."); SmbShareInfo share1 = (SmbShareInfo) response.results[0]; assertEquals("SHARE1", share1.getName().trim(), "Share 1 name should be correct."); assertEquals(0, share1.type, "Share 1 raw type should be 0."); assertEquals("Remark 1", share1.remark.trim(), "Share 1 remark should be correct.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
} /** * Test of equals method, of class SmbShareInfo. */ @Test void testEquals() { SmbShareInfo instance1 = new SmbShareInfo("SHARE1", 0, "remark1"); SmbShareInfo instance2 = new SmbShareInfo("SHARE1", 1, "remark2"); SmbShareInfo instance3 = new SmbShareInfo("SHARE2", 0, "remark1"); Object notAShareInfo = new Object();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
ShapeHandle shape_handle = c.output(i); TF_ShapeAndType& shape = output_shapes_result->items[i]; shape.num_dims = c.Rank(shape_handle); if (shape.num_dims == InferenceContext::kUnknownRank) { shape.dims = nullptr; continue; } shape.dims = new int64_t[shape.num_dims]; for (size_t j = 0; j < shape.num_dims; ++j) { shape.dims[j] = c.Value(c.Dim(shape_handle, j)); } }
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Aug 18 03:53:25 UTC 2025 - 29.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
DfsEnumArray200 dfsEnumArray = new DfsEnumArray200(); dfsEnumArray.count = 2; dfsEnumArray.s = new DfsInfo200[2]; dfsEnumArray.s[0] = new DfsInfo200(); dfsEnumArray.s[0].dfs_name = "\\domain\share1"; dfsEnumArray.s[1] = new DfsInfo200(); dfsEnumArray.s[1].dfs_name = "\\domain\share2"; // Manually set the DfsEnumArray200 to the info struct dfsRootEnum.info.e = dfsEnumArray;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
} @Test @DisplayName("Test equals method with same netName") void testEqualsWithSameNetName() { SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark1"); SmbShareInfo info2 = new SmbShareInfo("Share1", 1, "Remark2"); // Same netName, different type and remark assertTrue(info1.equals(info2)); assertTrue(info2.equals(info1)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
void testResourceCreationConsistency() throws CIFSException { // Test that resource creation works consistently String[] validUrls = { "smb://server1/share1/", "smb://server2/share2/file.txt" }; for (String validUrl : validUrls) { // When SmbResource resource = context.get(validUrl); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java
srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0(); ctr0.count = 2; ctr0.array = new srvsvc.ShareInfo0[2]; ctr0.array[0] = new srvsvc.ShareInfo0(); ctr0.array[0].netname = "Share1"; ctr0.array[1] = new srvsvc.ShareInfo0(); ctr0.array[1].netname = "Share2"; // Set up mocks mockDeferredBuffer.index = 0; // Set field directly
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)