Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2521 - 2530 of 2,710 for setD (0.12 seconds)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(-1, num_dims);
    
      // Set the shape to be unknown, expect no change.
      TF_GraphSetTensorShape(graph, feed_out_0, /*dims=*/nullptr, -1, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(-1, num_dims);
    
      // Set the shape to be 2 x Unknown
      int64_t dims[] = {2, -1};
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/lex/input.go

    		includes:        append([]string{filepath.Dir(name)}, flags.I...),
    		beginningOfLine: true,
    		macros:          predefine(flags.D),
    	}
    }
    
    // predefine installs the macros set by the -D flag on the command line.
    func predefine(defines flags.MultiFlag) map[string]*Macro {
    	macros := make(map[string]*Macro)
    	for _, name := range defines {
    		value := "1"
    		i := strings.IndexRune(name, '=')
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        @BeforeEach
        void setUp() {
            // Directly set the deferred field on the mock
            mockNdrBuffer.deferred = mockDeferredBuffer;
    
            // Configure mocks for NdrBuffer interactions
            lenient().when(mockDeferredBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer);
            lenient().doNothing().when(mockDeferredBuffer).advance(anyInt());
            // Set up index field for derive operations
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

            }
    
            @Test
            @DisplayName("should handle conflicting option combinations")
            void shouldHandleConflictingOptionCombinations() {
                // Test case where multiple conflicting options are set
                UpgradeContext context = TestUtils.createMockContext(TestUtils.createOptions(
                        true, // --all
                        false, // --infer (conflicts with --all)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/ShortsTest.java

      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        short[] array = {(short) 0, (short) 1};
        List<Short> list = Shorts.asList(array);
        list.set(0, (short) 2);
        assertThat(array).isEqualTo(new short[] {(short) 2, (short) 1});
        array[1] = (short) 3;
        assertThat(list).containsExactly((short) 2, (short) 3).inOrder();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableBiMap.java

      }
    
      /**
       * Returns the empty bimap.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      // Casting to any type is safe because the set will never hold any elements.
      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableBiMap<K, V> of() {
        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  7. src/archive/zip/reader_test.go

    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    	// If content is very large, an alternative to setting Content or File
    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 17 20:10:27 GMT 2025
    - 56.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        lock02 = factory3.newReentrantLock(OtherOrder.SECOND);
        lock03 = factory3.newReentrantLock(OtherOrder.THIRD);
      }
    
      // In the unittest, create each ordered factory with its own set of lock
      // graph nodes (as opposed to using the static per-Enum map) to avoid
      // conflicts across different test runs.
      private <E extends Enum<E>>
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 16.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

    import jcifs.smb.SmbTransportInternal;
    
    /**
     * Integration tests for RDMA functionality.
     *
     * This class contains both unit tests (that always run) and integration tests
     * (that require system properties to be set for execution).
     *
     * Integration tests require system properties:
     * - rdma.test.enabled=true (to enable RDMA integration tests)
     * - rdma.test.server=hostname/IP (target server for testing)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            }
        }
    
        @Nested
        @DisplayName("Configuration Tests")
        class ConfigurationTests {
    
            @Test
            @DisplayName("Should set security provider")
            void testSetDcerpcSecurityProvider() {
                // When: Setting security provider
                handle.setDcerpcSecurityProvider(mockSecurityProvider);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
Back to Top