Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for Transform (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        @Test
        @DisplayName("Should create transform header with correct size")
        void testTransformHeaderSize() {
            // When
            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
        // Note: SMB2 Transform Header doesn't have a protocol ID field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transform = transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(elementsEqual(transform, transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
        private final List<E> realDelegate;
    
        private ListIterationOnlyList(List<E> realDelegate) {
          this.realDelegate = realDelegate;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/MathTesting.java

        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
                    Iterables.transform(POSITIVE_INTEGER_CANDIDATES, NEGATE_INT),
                    ImmutableList.of(Integer.MIN_VALUE)));
        NONZERO_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

            Entry<String, String> entry = (Entry<String, String>) o;
            multimap.put(entry.getKey(), Ascii.toUpperCase(entry.getValue()));
          }
          return transform(multimap);
        }
    
        abstract M transform(Multimap<String, String> multimap);
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, String>[] createArray(int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * {@snippet :
     * ListenableFuture<Boolean> adminIsLoggedIn =
     *     FluentFuture.from(usersDatabase.getAdminUser())
     *         .transform(User::getId, directExecutor())
     *         .transform(ActivityService::isLoggedIn, threadPool)
     *         .catching(RpcException.class, e -> false, directExecutor());
     * }
     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/SortedLists.java

       *
       * <p>Equivalent to {@link #binarySearch(List, Object, Comparator, KeyPresentBehavior,
       * KeyAbsentBehavior)} using {@link Lists#transform(List, Function) Lists.transform(list,
       * keyFunction)}.
       */
      public static <E extends @Nullable Object, K extends @Nullable Object> int binarySearch(
          List<E> list,
          Function<? super E, K> keyFunction,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    import java.util.concurrent.CancellationException;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Executor;
    import org.jspecify.annotations.Nullable;
    
    /** Implementations of {@code Futures.transform*}. */
    @GwtCompatible
    // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
    @SuppressWarnings("ShortCircuitBoolean")
    abstract class AbstractTransformFuture<
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Lists.java

       * list is threadsafe if the supplied list and function are.
       *
       * <p>If only a {@code Collection} or {@code Iterable} input is available, use {@link
       * Collections2#transform} or {@link Iterables#transform}.
       *
       * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList},
       * its contents, and {@code function} -- <i>not</i> by serializing the transformed values. This
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/FluentIterable.java

       * contains the corresponding element.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#map}.
       */
      public final <T extends @Nullable Object> FluentIterable<T> transform(
          Function<? super E, T> function) {
        return from(Iterables.transform(getDelegate(), function));
      }
    
      /**
       * Applies {@code function} to each element of this fluent iterable and returns a fluent iterable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

       * contains the corresponding element.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#map}.
       */
      public final <T extends @Nullable Object> FluentIterable<T> transform(
          Function<? super E, T> function) {
        return from(Iterables.transform(getDelegate(), function));
      }
    
      /**
       * Applies {@code function} to each element of this fluent iterable and returns a fluent iterable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
Back to top