Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 600 for compact (0.06 seconds)

  1. guava/src/com/google/common/collect/ImmutableList.java

        }
      }
    
      /**
       * Returns an immutable list containing the given elements, sorted according to their natural
       * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
       * order in which they appear in the input.
       *
       * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

        for (double a : ALL_DOUBLE_CANDIDATES) {
          for (double b : ALL_DOUBLE_CANDIDATES) {
            int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b);
            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
            assertEquals(Integer.signum(expected), Integer.signum(actual));
          }
        }
      }
    
      public void testFuzzyCompareBadTolerance() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 03 16:20:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/math/QuantilesTest.java

                  // Test for equality to allow non-finite values to match; otherwise, use the finite
                  // test.
                  return actual.equals(expected)
                      || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected);
                }
              },
              "is identical to or " + FINITE_QUANTILE_CORRESPONDENCE);
    
      // 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10):
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/QuantilesTest.java

                  // Test for equality to allow non-finite values to match; otherwise, use the finite
                  // test.
                  return actual.equals(expected)
                      || FINITE_QUANTILE_CORRESPONDENCE.compare(actual, expected);
                }
              },
              "is identical to or " + FINITE_QUANTILE_CORRESPONDENCE);
    
      // 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10):
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  5. api/go1.txt

    pkg encoding/hex, func EncodedLen(int) int
    pkg encoding/hex, method (InvalidByteError) Error() string
    pkg encoding/hex, type InvalidByteError uint8
    pkg encoding/hex, var ErrLength error
    pkg encoding/json, func Compact(*bytes.Buffer, []uint8) error
    pkg encoding/json, func HTMLEscape(*bytes.Buffer, []uint8)
    pkg encoding/json, func Indent(*bytes.Buffer, []uint8, string, string) error
    pkg encoding/json, func Marshal(interface{}) ([]uint8, error)
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

            }
        }
    
        @Test
        public void test_contactInformation() throws Exception {
            Map<String, Object> defaultSettings = createDefaultSettings();
    
            // Verify contact information is properly set
            assertEquals("Technical Guy", defaultSettings.get("onelogin.saml2.contacts.technical.given_name"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/MultiChannelManager.java

                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
                    return channels.stream()
                            .min((c1, c2) -> Integer.compare(c1.getActiveConnections(), c2.getActiveConnections()))
                            .orElse(channels.get(0));
    
                case RANDOM:
                    return channels.get((int) (Math.random() * channels.size()));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

                </developer>
              </developers>
            </project>"""
            )
        }
    
        private boolean assertXmlEquals(String toTest, String expected) {
            def diff = DiffBuilder.compare(Input.fromString(expected))
                    .ignoreWhitespace()
                    .ignoreComments()
                    .normalizeWhitespace()
                    .withTest(Input.fromString(toTest))
                    .build()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

          Comparator<IndexedIterator<T>> heapComparator =
              (o1, o2) ->
                  ComparisonChain.start()
                      .compare(o1.iterator.peek(), o2.iterator.peek(), itemComparator)
                      // When elements are equal, use insertion order to maintain stability
                      .compare(o1.index, o2.index)
                      .result();
    
          queue = new PriorityQueue<>(2, heapComparator);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterators.java

          Comparator<IndexedIterator<T>> heapComparator =
              (o1, o2) ->
                  ComparisonChain.start()
                      .compare(o1.iterator.peek(), o2.iterator.peek(), itemComparator)
                      // When elements are equal, use insertion order to maintain stability
                      .compare(o1.index, o2.index)
                      .result();
    
          queue = new PriorityQueue<>(2, heapComparator);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top