Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 3,609 for uint (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

            ImmutableList.builderWithExpectedSize(copy.length);
        for (int i = 0; i < copy.length; i++) {
          delegatesBuilder.add(new InCompletionOrderFuture<T>(state));
        }
    
        final ImmutableList<AbstractFuture<T>> delegates = delegatesBuilder.build();
        for (int i = 0; i < copy.length; i++) {
          final int localI = i;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

                Ints.indexOf(
                    new int[] {(int) 2, (int) 3, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3},
                    new int[] {(int) 2, (int) 3, (int) 4}))
            .isEqualTo(2);
        assertThat(
                Ints.indexOf(
                    new int[] {(int) 2, (int) 2, (int) 3, (int) 4, (int) 2, (int) 3, (int) 4},
                    new int[] {(int) 2, (int) 3, (int) 4}))
            .isEqualTo(1);
        assertThat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/Helpers.java

          ArrayList<T> data = new ArrayList<>();
    
          @Override
          public int size() {
            return max(0, data.size() + delta);
          }
    
          @Override
          public T get(int index) {
            return data.get(index);
          }
    
          @Override
          public T set(int index, T element) {
            return data.set(index, element);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. docs/distributed/DESIGN.md

    ```go
    // hashes the key returning an integer.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
            if cardinality <= 0 {
                    return -1
            }
            sip := siphash.New(id[:])
            sip.Write([]byte(key))
            return int(sip.Sum64() % uint64(cardinality))
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionBean.java

            return true;
        }
    
        @Override
        public void paging(int pageSize, int pageNumber) {
            if (pageSize <= 0) {
                throwPagingPageSizeNotPlusException(pageSize, pageNumber);
            }
            fetchFirst(pageSize);
            xfetchPage(pageNumber);
        }
    
        protected void throwPagingPageSizeNotPlusException(int pageSize, int pageNumber) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

        fun toCsvLine() = "${scenario.className};${scenario.scenario}"
    }
    
    data class PerformanceScenario(val scenario: Scenario, val testProject: String)
    
    interface PerformanceTestBucket {
        fun createPerformanceTestsFor(model: CIBuildModel, stage: Stage, performanceTestCoverage: PerformanceTestCoverage, bucketIndex: Int): PerformanceTest
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/data-scanner-metric.go

    		}
    	}
    }
    
    // timeSize add time and size of a scanner action.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) timeSize(s scannerMetric) func(sz int) {
    	startTime := time.Now()
    	return func(sz int) {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&p.operations[s], 1)
    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      public void testConcat_overflow_negative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 15;
        assertThat(dim1 * dim2).isLessThan(0);
        testConcatOverflow(dim1, dim2);
      }
    
      @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~
      public void testConcat_overflow_nonNegative() {
        int dim1 = 1 << 16;
        int dim2 = 1 << 16;
        assertThat(dim1 * dim2).isAtLeast(0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  9. cni/pkg/install/install.go

    			detectedCNI = "cilium"
    		}
    		hint := ""
    		switch detectedCNI {
    		case "cilium":
    			hint = " Hint: Cilium CNI was detected; ensure 'cni.exclusive=false' in the Cilium configuration."
    		}
    		log.Warnf("Configuration has been reconciled multiple times in a short period of time. "+
    			"This may be due to a conflicting component constantly reverting our work.%s", hint)
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 09 21:33:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

    import com.google.common.collect.testing.google.TestStringMultisetGenerator;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link LinkedHashMultiset}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class LinkedHashMultisetTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top