Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 502 for ninputs (0.19 sec)

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

    /**
     * A future whose value is derived from a collection of input futures.
     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
        extends AggregateFutureState<OutputT> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsItem.java

    public class ProtwordsItem extends DictionaryItem {
        private final String input;
    
        private String newInput;
    
        public ProtwordsItem(final long id, final String input) {
            this.id = id;
            this.input = input;
    
            if (id == 0) {
                // create
                newInput = input;
            }
        }
    
        public String getNewInput() {
            return newInput;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        }
    
        void assertHasImmediateCancel(
            ListenableFuture<String> a, ListenableFuture<String> b, Exception e) {
          ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b);
          smartAssertTrue(inputs, e, intersect(inputs, ImmutableSet.of(doneCancelled)));
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      }
    
      private static void assertMessageDigestHashing(byte[] input, String algorithmName) {
        try {
          MessageDigest digest = MessageDigest.getInstance(algorithmName);
          assertEquals(
              HashCode.fromBytes(digest.digest(input)), ALGORITHMS.get(algorithmName).hashBytes(input));
          for (int bytes = 4; bytes <= digest.getDigestLength(); bytes++) {
            assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        assertThat(peeker.getDone(input1)).isSameInstanceAs("value1");
                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker should fail for failed inputs");
                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

      private static void assertMacHashing(
          byte[] input, String algorithm, SecretKey key, HashFunction hashFunc) throws Exception {
        Mac mac = Mac.getInstance(algorithm);
        mac.init(key);
        mac.update(input);
    
        assertEquals(HashCode.fromBytes(mac.doFinal()), hashFunc.hashBytes(input));
        assertEquals(HashCode.fromBytes(mac.doFinal(input)), hashFunc.hashBytes(input));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Functions.java

        return new FunctionForMapNoDefault<>(map);
      }
    
      /**
       * Returns a function which performs a map lookup with a default value. The function created by
       * this method returns {@code defaultValue} for all inputs that do not belong to the map's key
       * set. See also {@link #forMap(Map)}, which throws an exception in this case.
       *
       * <p><b>Java 8+ users:</b> you can just write the lambda expression {@code k ->
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableTable.java

      }
    
      /**
       * Returns a {@code Collector} that accumulates elements into an {@code ImmutableTable}. Each
       * input element is mapped to one cell in the returned table, with the rows, columns, and values
       * generated by applying the specified functions. If multiple inputs are mapped to the same row
       * and column pair, they will be combined with the specified merging function in encounter order.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsItem.java

    public class StopwordsItem extends DictionaryItem {
        private final String input;
    
        private String newInput;
    
        public StopwordsItem(final long id, final String input) {
            this.id = id;
            this.input = input;
    
            if (id == 0) {
                // create
                newInput = input;
            }
        }
    
        public String getNewInput() {
            return newInput;
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IterablesTest.java

        List<Integer> list2 = newArrayList(4);
    
        List<List<Integer>> input = newArrayList(list1, list2);
    
        Iterable<Integer> result = Iterables.concat(input);
        assertEquals(asList(1, 4), newArrayList(result));
    
        // Now change the inputs and see result dynamically change as well
    
        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
Back to top