Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2581 - 2590 of 4,785 for New (0.03 sec)

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

            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            assertEquals(expected.toBigInteger(), DoubleMath.roundToBigInteger(d, mode));
          }
        }
      }
    
      @GwtIncompatible // DoubleMath.roundToBigInteger(double, RoundingMode)
      public void testRoundExactIntegralDoubleToBigInteger() {
        for (double d : INTEGRAL_DOUBLE_CANDIDATES) {
          BigDecimal expected = new BigDecimal(d).setScale(0, UNNECESSARY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

            done.Notify();
          });
      done.WaitForNotification();
    }
    
    TF_ShapeAndTypeList* TF_NewShapeAndTypeList(int num_items) {
      TF_ShapeAndTypeList* result = new TF_ShapeAndTypeList;
      result->num_items = num_items;
      result->items = (num_items == 0) ? nullptr : new TF_ShapeAndType[num_items]();
      return result;
    }
    
    void TF_ShapeAndTypeListSetShape(TF_ShapeAndTypeList* shape_list, int index,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetMultimapAsMapTester.java

        for (K key : multimap().keySet()) {
          assertTrue(multimap().asMap().get(key) instanceof Set);
        }
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testAsMapRemoveImplementsSet() {
        List<K> keys = new ArrayList<>(multimap().keySet());
        for (K key : keys) {
          resetCollection();
          assertTrue(multimap().asMap().remove(key) instanceof Set);
        }
      }
    
      @CollectionSize.Require(SEVERAL)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class HashMultisetTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            MultisetTestSuiteBuilder.using(hashMultisetGenerator())
                .withFeatures(
                    CollectionSize.ANY,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableSet.java

    @ElementTypesAreNonnullByDefault
    final class RegularImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      private static final Object[] EMPTY_ARRAY = new Object[0];
      static final RegularImmutableSet<Object> EMPTY =
          new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0);
    
      private final transient Object[] elements;
      private final transient int hashCode;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    ```
    
    ### Create your feature branch
    
    Before making code changes, make sure you create a separate branch for these changes
    
    ```
    git checkout -b my-new-feature
    ```
    
    ### Test MinIO server changes
    
    After your code changes, make sure
    
    - To add test cases for the new code. If you have questions about how to do it, please ask on our [Slack](https://slack.min.io) channel.
    - To run `make verifiers`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 05 18:35:53 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadataGenerator.java

        private final Date timestamp;
    
        private final Integer buildNumber;
    
        RemoteSnapshotMetadataGenerator(RepositorySystemSession session, DeployRequest request) {
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
            Object bn = ConfigUtils.getObject(session, null, "maven.buildNumber");
            if (bn instanceof Integer) {
                this.buildNumber = (Integer) bn;
            } else if (bn instanceof String) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
                  @Override
                  public Collection<String> create(String[] elements) {
                    // TODO: MinimalCollection should perhaps throw
                    for (Object element : elements) {
                      if (element == null) {
                        throw new NullPointerException();
                      }
                    }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ArrayTableColumnTest.java

      public ArrayTableColumnTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      Table<String, Character, Integer> makeTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ArrayTableRowTest.java

      public ArrayTableRowTest() {
        super(true, true, false, false, false);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<String, Integer> makeEmptyMap() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Table<Character, String, Integer> makeTable() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top