Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 42 for shape_2 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            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;
    
            // When
            FileEntry[] entries = dfsRootEnum.getEntries();
    
            // Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

        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();
    
            assertTrue(instance1.equals(instance2)); // Should be equal based on netName
            assertFalse(instance1.equals(instance3)); // Should not be equal
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5K bytes
    - Click Count (0)
  3. tensorflow/c/checkpoint_reader.cc

      if (reader_ != nullptr) {
        status = reader_->GetTensor(name, out_tensor);
      } else {
        tensorflow::DataType dtype;
        tensorflow::TensorShape shape;
        status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape);
        if (status.ok()) {
          out_tensor->reset(new Tensor(dtype, shape));
          status = v2_reader_->Lookup(name, out_tensor->get());
          if (!status.ok()) out_tensor->reset();
        }
      }
      if (!status.ok()) {
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Nov 08 06:24:11 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                // Setup second referral
                DfsReferralDataImpl second = new DfsReferralDataImpl();
                when(mockReferral.getNode()).thenReturn("\\server2\\share2\\path2");
                second = DfsReferralDataImpl.fromReferral(mockReferral, "\\\\server2\\share2\\path2", System.currentTimeMillis() + 20000, 15);
                second.setDomain("DOMAIN");
    
                // Combine
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            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
            mockDeferredBuffer.deferred = mockDeferredBuffer;
    
            ctr0.encode(mockNdrBuffer);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. ci/official/utilities/rename_and_verify_wheels.sh

    fi
    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.
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Sep 22 21:39:32 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. tensorflow/c/c_test_util.cc

      TF_AddInput(desc, r);
      return TF_FinishOperation(desc, s);
    }
    
    TF_Operation* RandomUniform(TF_Operation* shape, TF_DataType dtype,
                                TF_Graph* graph, TF_Status* s) {
      TF_OperationDescription* desc =
          TF_NewOperation(graph, "RandomUniform", "random_uniform");
      TF_AddInput(desc, {shape, 0});
      TF_SetAttrType(desc, "dtype", dtype);
      return TF_FinishOperation(desc, s);
    }
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 17.8K bytes
    - Click Count (1)
  8. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/HandlerTest.java

        void testHandlerEquality() throws Exception {
            // Create two URLs with the same handler
            URL url1 = new URL(null, "smb://host1/share1", handler);
            URL url2 = new URL(null, "smb://host2/share2", handler);
    
            // Both should use the same handler instance
            assertNotNull(url1);
            assertNotNull(url2);
    
            // Protocol should be consistent
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. SECURITY.md

    inspected and debugged and it is intended to be used during the development
    phase.
    
    As part of the differences that make Eager mode easier to debug, the [shape
    inference
    functions](https://www.tensorflow.org/guide/create_op#define_the_op_interface)
    are skipped, and any checks implemented inside the shape inference code are not
    executed.
    
    The security impact of skipping those checks should be low, since the attack
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
Back to Top