Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 397 for Generic (0.08 sec)

  1. internal/grid/handlers.go

    	if r != h.nilReq {
    		//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer)
    		h.reqPool.Put(r)
    	}
    }
    
    // PutResponse will accept a response for reuse.
    // These should be returned by the caller.
    func (h *StreamTypeHandler[Payload, Req, Resp]) PutResponse(r Resp) {
    	if r != h.nilResp {
    		//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE! (and always a pointer)
    		h.respPool.Put(r)
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

         * non-reified type or has bounds, {@code forDependants} is used to do further resolution, which
         * doesn't try to resolve any type variable on generic declarations that are already being
         * resolved.
         *
         * <p>Should only be called and overridden by {@link #resolve(TypeVariable)}.
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#compute}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/SetMultimap.java

      @Override
      Set<Entry<K, V>> entries();
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> The returned map's values are guaranteed to be of type {@link Set}. To obtain
       * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link
       * Multimaps#asMap(SetMultimap)} instead.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import com.google.common.collect.testing.testers.TestExceptions.SomeUncheckedException;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#compute}. Can't be invoked directly; please see
     * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code iterator} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/SetMultimap.java

      @Override
      Set<Entry<K, V>> entries();
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> The returned map's values are guaranteed to be of type {@link Set}. To obtain
       * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link
       * Multimaps#asMap(SetMultimap)} instead.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. internal/crypto/error.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package crypto
    
    import (
    	"errors"
    	"fmt"
    )
    
    // Error is the generic type for any error happening during decrypting
    // an object. It indicates that the object itself or its metadata was
    // modified accidentally or maliciously.
    type Error struct {
    	msg   string
    	cause error
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code toArray()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java

            UrlQueueImpl<Long> queue = new UrlQueueImpl<>();
            assertTrue(queue instanceof UrlQueue);
        }
    
        public void test_genericTypeFlexibility() {
            // Test with different generic types
            UrlQueueImpl<Integer> intQueue = new UrlQueueImpl<>();
            intQueue.setId(42);
            assertEquals(Integer.valueOf(42), intQueue.getId());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top