Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1771 - 1780 of 3,598 for long (0.02 sec)

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

      }
    
      public void testCountOverflow_doesNotThrow() {
        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        accumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
        for (int power = 1; power < Long.SIZE - 1; power++) {
          accumulator.addAll(accumulator.snapshot());
        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils.go

    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    // value is greater than or equal to simple majority, since none of the equally
    // maximal values would occur quorum or more number of times.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/StandardTable.java

                     * know that V is a non-null type because that's the only kind of value type that
                     * StandardTable supports. Thus, requireNonNull is safe as long as the cell is still
                     * present. (And if it's not present, behavior is undefined.) However, that's a
                     * behavior change relative to the old code, so it didn't seem worth risking.)
                     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 30.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

                    // Set required fields
                    try {
                        java.lang.reflect.Field styleField = NetworkExplorer.class.getDeclaredField("style");
                        styleField.setAccessible(true);
                        styleField.set(this, "test_style");
    
                        java.lang.reflect.Field transportContextField = NetworkExplorer.class.getDeclaredField("transportContext");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          aboutToAcquire(this);
          try {
            return super.tryLock();
          } finally {
            lockStateChanged(this);
          }
        }
    
        @Override
        public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException {
          aboutToAcquire(this);
          try {
            return super.tryLock(timeout, unit);
          } finally {
            lockStateChanged(this);
          }
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/user/AdminUserAction.java

         */
        public static void validateAttributes(final Map<String, String> attributes, final Consumer<VaMessenger<FessMessages>> throwError) {
            ComponentUtil.getLdapManager()
                    .validateUserAttributes(Long.class, attributes,
                            s -> throwError.accept(messages -> messages.addErrorsPropertyTypeLong("attributes." + s, "attributes." + s)));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            dataStoreFactory = new DataStoreFactory();
            systemHelper = new SystemHelper() {
                @Override
                public long getCurrentTimeAsLong() {
                    return System.currentTimeMillis();
                }
            };
            ComponentUtil.register(systemHelper, "systemHelper");
    
            // Create temporary directory for test JAR files
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/BooleansTest.java

        assertThat(dim1 * dim2).isAtLeast(0);
        testConcatOverflow(dim1, dim2);
      }
    
      private static void testConcatOverflow(int arraysDim1, int arraysDim2) {
        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        boolean[][] arrays = new boolean[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        boolean[] sharedArray = new boolean[arraysDim2];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

         */
        public static void validateAttributes(final Map<String, String> attributes, final Consumer<VaMessenger<FessMessages>> throwError) {
            ComponentUtil.getLdapManager()
                    .validateGroupAttributes(Long.class, attributes,
                            s -> throwError.accept(messages -> messages.addErrorsPropertyTypeLong("attributes." + s, "attributes." + s)));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

            this.runnable = runnable;
            this.executor = executor;
          }
    
          void execute() {
            try {
              executor.execute(runnable);
            } catch (RuntimeException e) {
              log.log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
                      + runnable
                      + " with executor "
                      + executor,
                  e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top