Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,421 for list (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt);
        List<@Nullable List<@Nullable Integer>> list =
            Lists.newArrayList(list1, list2, list3, list4, list5, list6, list7, list8, null);
        List<@Nullable List<@Nullable Integer>> sorted = example.sortedCopy(list);
    
        // [[null, null], [null], [1, null, 2], [1, 1], [1, 2], [1], [2], [], null]
        assertThat(sorted)
            .containsExactly(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<@Nullable Integer> list8 = Lists.newArrayList(nullInt, nullInt);
        List<@Nullable List<@Nullable Integer>> list =
            Lists.newArrayList(list1, list2, list3, list4, list5, list6, list7, list8, null);
        List<@Nullable List<@Nullable Integer>> sorted = example.sortedCopy(list);
    
        // [[null, null], [null], [1, null, 2], [1, 1], [1, 2], [1], [2], [], null]
        assertThat(sorted)
            .containsExactly(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
            sort(list);
            if (list.size() > 1) {
              int i = (list.size() - 1) / 2;
              Collections.swap(list, i, i + 1);
            }
          }
        },
        RANDOM {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/Collections2Test.java

      public void testOrderedPermutationSetEmpty() {
        List<Integer> list = newArrayList();
        Collection<List<Integer>> permutationSet = Collections2.orderedPermutations(list);
    
        assertEquals(1, permutationSet.size());
        assertThat(permutationSet).contains(list);
    
        Iterator<List<Integer>> permutations = permutationSet.iterator();
    
        assertNextPermutation(Lists.<Integer>newArrayList(), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/log/bsbhv/BsFavoriteLogBhv.java

            return doBatchInsert(new BulkList<>(list, call, entityCall), null);
        }
    
        public int[] batchUpdate(List<FavoriteLog> list) {
            return batchUpdate(list, null, null);
        }
    
        public int[] batchUpdate(List<FavoriteLog> list, RequestOptionCall<BulkRequestBuilder> call) {
            return batchUpdate(list, call, null);
        }
    
        public int[] batchUpdate(List<FavoriteLog> list, RequestOptionCall<BulkRequestBuilder> call,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/bsbhv/BsRoleBhv.java

            return doBatchInsert(new BulkList<>(list, call, entityCall), null);
        }
    
        public int[] batchUpdate(List<Role> list) {
            return batchUpdate(list, null, null);
        }
    
        public int[] batchUpdate(List<Role> list, RequestOptionCall<BulkRequestBuilder> call) {
            return batchUpdate(list, call, null);
        }
    
        public int[] batchUpdate(List<Role> list, RequestOptionCall<BulkRequestBuilder> call,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsBadWordBhv.java

            return doBatchInsert(new BulkList<>(list, call, entityCall), null);
        }
    
        public int[] batchUpdate(List<BadWord> list) {
            return batchUpdate(list, null, null);
        }
    
        public int[] batchUpdate(List<BadWord> list, RequestOptionCall<BulkRequestBuilder> call) {
            return batchUpdate(list, call, null);
        }
    
        public int[] batchUpdate(List<BadWord> list, RequestOptionCall<BulkRequestBuilder> call,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoParamBhv.java

        }
    
        public int[] batchInsert(List<CrawlingInfoParam> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<CrawlingInfoParam> list, RequestOptionCall<BulkRequestBuilder> call) {
            return batchInsert(list, call, null);
        }
    
        public int[] batchInsert(List<CrawlingInfoParam> list, RequestOptionCall<BulkRequestBuilder> call,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsbhv/BsPathMappingBhv.java

            return doBatchInsert(new BulkList<>(list, call, entityCall), null);
        }
    
        public int[] batchUpdate(List<PathMapping> list) {
            return batchUpdate(list, null, null);
        }
    
        public int[] batchUpdate(List<PathMapping> list, RequestOptionCall<BulkRequestBuilder> call) {
            return batchUpdate(list, call, null);
        }
    
        public int[] batchUpdate(List<PathMapping> list, RequestOptionCall<BulkRequestBuilder> call,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. internal/config/lambda/event/targetlist.go

    	defer list.RUnlock()
    
    	targets := make([]Target, 0, len(list.targets))
    	for _, tgt := range list.targets {
    		targets = append(targets, tgt)
    	}
    
    	return targets
    }
    
    // Empty returns true if targetList is empty.
    func (list *TargetList) Empty() bool {
    	list.RLock()
    	defer list.RUnlock()
    
    	return len(list.targets) == 0
    }
    
    // List - returns available target IDs.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top