Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1231 - 1240 of 1,910 for result7 (0.06 seconds)

  1. guava-tests/test/com/google/common/math/LinearTransformationTest.java

        assertThat(transformation.isHorizontal()).isFalse();
        assertThat(transformation.slope()).isWithin(ALLOWED_ERROR).of(slope);
        // Note that we cannot test the actual mapping of points, as the results will be unreliable due
        // to loss of precision with this value of the slope.
      }
    
      public void testMappingWithSlope_maximalSlope() {
        double x1 = 1.2;
        double y1 = 3.4;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        assertThat(copyFromTree.get(1.0).comparator()).isEqualTo(Ordering.natural());
      }
    
      /** Test that creating one TreeMultimap from a non-TreeMultimap results in natural ordering. */
      public void testCreateFromHashMultimap() {
        Multimap<Double, Double> hash = HashMultimap.create();
        hash.put(1.0, 2.0);
        hash.put(2.0, 3.0);
        hash.put(3.0, 4.0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuilder.java

        /**
         * Builds the effective toolchains of the specified toolchains files.
         *
         * @param request The toolchains building request that holds the parameters, must not be {@code null}.
         * @return The result of the toolchains building, never {@code null}.
         * @throws ToolchainsBuildingException If the effective toolchains could not be built.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                    return null;
                }
            };
    
            Map<String, Object> params = new HashMap<>();
            params.put("test", "value");
    
            RescorerBuilder<?> result = queryRescorer.evaluate(params);
            assertNotNull(result);
        }
    
        @Test
        public void test_evaluate_multipleImplementations() {
            // Test with first implementation
            QueryRescorer rescorer1 = new QueryRescorer() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. tensorflow/c/eager/gradients.h

      // if not empty and not null. The result is populated with one tensor per
      // target element.
      absl::Status ComputeGradient(
          AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> targets,
          absl::Span<AbstractTensorHandle* const> sources,
          absl::Span<AbstractTensorHandle* const> output_gradients,
          absl::Span<AbstractTensorHandle*> result);
    };
    
    }  // namespace gradients
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

        V result = get(key);
        return (result != null) ? result : defaultValue;
      }
    
      V getOrLoad(K key) throws ExecutionException {
        return get(key, defaultLoader);
      }
    
      ImmutableMap<K, V> getAllPresent(Iterable<?> keys) {
        int hits = 0;
        int misses = 0;
    
        ImmutableMap.Builder<K, V> result = ImmutableMap.builder();
        for (Object key : keys) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/Config.java

            final String s = props.getProperty(key);
            int result = -1;
            if (s != null) {
                try {
                    result = Integer.parseInt(s);
                } catch (final NumberFormatException nfe) {
                    log.error("Not a number", nfe);
                }
            }
            return result;
        }
    
        /**
         * Retrieve a <code>long</code>. If the key does not exist or
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/collection/SLinkedList.java

         *
         * @return the array
         */
        public Object[] toArray() {
            final Object[] result = new Object[size];
            int i = 0;
            for (Entry e = header.next; e != header; e = e.next) {
                result[i++] = e.element;
            }
            return result;
        }
    
        /**
         * Converts the list to an array.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Multiset.java

       */
      @Override
      int hashCode();
    
      /**
       * {@inheritDoc}
       *
       * <p>It is recommended, though not mandatory, that this method return the result of invoking
       * {@link #toString} on the {@link #entrySet}, yielding a result such as {@code [a x 3, c, d x 2,
       * e]}.
       */
      @Override
      String toString();
    
      // Refined Collection Methods
    
      /**
       * {@inheritDoc}
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  10. cmd/endpoint-ellipses_test.go

    	testCases := []struct {
    		totalSizes []uint64
    		result     uint64
    	}{
    		{[]uint64{24, 32, 16}, 8},
    		{[]uint64{32, 8, 4}, 4},
    		{[]uint64{8, 8, 8}, 8},
    		{[]uint64{24}, 24},
    	}
    
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    			gotGCD := getDivisibleSize(testCase.totalSizes)
    			if testCase.result != gotGCD {
    				t.Errorf("Expected %v, got %v", testCase.result, gotGCD)
    			}
    		})
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top