Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3531 - 3540 of 3,901 for 1final (0.04 seconds)

  1. android/guava/src/com/google/common/base/NullnessCasts.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

    import java.io.IOException;
    import junit.framework.Assert;
    
    /**
     * Extra assert methods for testing Escaper implementations.
     *
     * @author David Beaumont
     * @since 15.0
     */
    @GwtCompatible
    public final class EscaperAsserts {
      private EscaperAsserts() {}
    
      /**
       * Asserts that an escaper behaves correctly with respect to null inputs.
       *
       * @param escaper the non-null escaper to test
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 3.8K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
      NONE;
    
      private final Set<Feature<? super Collection>> implied;
    
      CollectionFeature(Feature<? super Collection>... implied) {
        this.implied = copyToSet(implied);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/NullnessCasts.java

    import com.google.common.annotations.GwtCompatible;
    import org.jspecify.annotations.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 13 20:49:47 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.verify;
    
    class DefaultToolchainTest {
        private final Logger logger = mock(Logger.class);
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.initMocks(this);
        }
    
        private DefaultToolchain newDefaultToolchain(ToolchainModel model) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. cmd/endpoint-ellipses.go

    	// divisor, it avoids loops.
    	slices.Sort(setCounts)
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    // The final set size has the affinity towards choosing smaller
    // indexes (total sets)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            // Change file ID again
            byte[] newFileId2 = new byte[16];
            Arrays.fill(newFileId2, (byte) 0xBB);
            request.setFileId(newFileId2);
    
            // Verify final state
            Field fileIdField = Smb2CloseRequest.class.getDeclaredField("fileId");
            fileIdField.setAccessible(true);
            byte[] finalFileId = (byte[]) fileIdField.get(request);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java

    @GwtCompatible
    @NullMarked
    public class ForwardingSortedMapImplementsMapTest extends SortedMapInterfaceTest<String, Integer> {
    
      private static class SimpleForwardingSortedMap<K, V> extends ForwardingSortedMap<K, V> {
        final SortedMap<K, V> delegate;
    
        SimpleForwardingSortedMap(SortedMap<K, V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        protected SortedMap<K, V> delegate() {
          return delegate;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

     * @since 26.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class ExecutionSequencer {
    
      private ExecutionSequencer() {}
    
      /** Creates a new instance. */
      public static ExecutionSequencer create() {
        return new ExecutionSequencer();
      }
    
      /** This reference acts as a pointer tracking the head of a linked list of ListenableFutures. */
      private final AtomicReference<ListenableFuture<@Nullable Void>> ref =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/HashTestUtils.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Assert;
    
    /**
     * Various utilities for testing {@link HashFunction}s.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    final class HashTestUtils {
      private HashTestUtils() {}
    
      /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */
      static byte[] ascii(String string) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top