Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1491 - 1500 of 2,827 for int3 (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class SetHashCodeTester<E> extends AbstractSetTester<E> {
      public void testHashCode() {
        int expectedHashCode = 0;
        for (E element : getSampleElements()) {
          expectedHashCode += ((element == null) ? 0 : element.hashCode());
        }
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

      public Object measureSize() {
        list = impl.newExecutionList();
        for (int i = 0; i < numListeners; i++) {
          list.add(listener, directExecutor());
        }
        return list.getImpl();
      }
    
      @Benchmark
      int addThenExecute_singleThreaded(int reps) {
        int returnValue = 0;
        for (int i = 0; i < reps; i++) {
          list = impl.newExecutionList();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          // This is not actually a problem, since the foreach only needs this.futures to be non-null
          // at the beginning of the loop.
          int i = 0;
          for (ListenableFuture<? extends InputT> future : futures) {
            int index = i++;
            if (future.isDone()) {
              processAllMustSucceedDoneFuture(index, future);
            } else {
              future.addListener(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_cluster_test.cc

    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    namespace {
    
    using ::tensorflow::string;
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index) {
      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat("localhost:", port);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. cmd/site-replication.go

    	Enabled           bool
    	MaxBuckets        int                             // maximum buckets seen across sites
    	MaxUsers          int                             // maximum users seen across sites
    	MaxGroups         int                             // maximum groups seen across sites
    	MaxPolicies       int                             // maximum policies across sites
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            return ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(template, paramMap);
        }
    
        default int getMaxSiteLength() {
            return getFessConfig().getCrawlerDocumentMaxSiteLengthAsInteger();
        }
    
        default String abbreviateSite(final String value) {
            final int maxSiteLength = getMaxSiteLength();
            if (maxSiteLength > -1) {
                return StringUtils.abbreviate(value, maxSiteLength);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      // have completed and we have processed them all.
      @CheckForNull private volatile Set<Throwable> seenExceptions = null;
    
      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 28 20:40:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/streaming-v4-unsigned.go

    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    			size = size<<4 | int(b-'0')
    		case b >= 'a' && b <= 'f':
    			size = size<<4 | int(b-('a'-10))
    		case b >= 'A' && b <= 'F':
    			size = size<<4 | int(b-('A'-10))
    		default:
    			if cr.debug {
    				fmt.Printf("err size: %v\n", string(b))
    			}
    			cr.err = errMalformedEncoding
    			return n, cr.err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        //                                                                        Small Helper
        //                                                                        ============
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutAllNullValueNullLast_unsupported() {
        int size = getNumElements();
    
        assertThrows(
            NullPointerException.class, () -> multimap().putAll(k3(), Lists.newArrayList(v3(), null)));
    
        Collection<V> values = multimap().get(k3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top