Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2151 - 2160 of 2,334 for setD (0.1 seconds)

  1. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        double[] array = {0.0, 1.0};
        List<Double> list = Doubles.asList(array);
        list.set(0, 2.0);
        assertThat(array).isEqualTo(new double[] {2.0, 1.0});
        array[1] = 3.0;
        assertThat(list).containsExactly(2.0, 3.0).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

      }
    
      @J2ktIncompatible // b/239034072: Kotlin varargs copy parameter arrays.
      public void testAsList_isAView() {
        long[] array = {0L, 1L};
        List<Long> list = Longs.asList(array);
        list.set(0, 2L);
        assertThat(array).isEqualTo(new long[] {2L, 1L});
        array[1] = 3L;
        assertThat(list).containsExactly(2L, 3L).inOrder();
      }
    
      public void testAsList_toArray_roundTrip() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  3. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
  4. 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 Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  5. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.6K bytes
    - Click Count (0)
  6. 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 Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  7. 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 Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 97.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            indexUpdateCallback.mergeResponseData(dataMap, responseDataMap);
    
            assertEquals(1, dataMap.size());
            assertEquals("X1", dataMap.get("x"));
        }
    
        /** Case 3: Only overwrite key (baseKey not set) → generate baseKey, remove overwrite key */
        @Test
        public void test_mergeResponseData_overwriteOnly() {
            Map<String, Object> dataMap = new HashMap<>();
            Map<String, Object> responseDataMap = new HashMap<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            // Test with boost less than 1
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 0.5f, null, null, null, SuggestItem.Kind.QUERY);
            assertEquals(1.0f, item.getUserBoost(), 0.001f); // Should be set to 1
    
            // Test with boost greater than 1
            SuggestItem item2 = new SuggestItem(text, readings, null, 0L, 0L, 2.5f, null, null, null, SuggestItem.Kind.QUERY);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  10. tensorflow/BUILD

    # (e.g. _pywrap_tensorflow_internal.so for Python, libtensorflow.so for the C
    # API) is responsible for registering ops with libtensorflow_framework.so. In
    # addition to this core set of ops, user libraries which are loaded (via
    # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this
    # shared object directly.
    #
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
Back to Top