Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 393 for Generic (0.07 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

        }
    
        void testIsOrdered() {
          assertTrue(ordering.isOrdered(strictlyOrderedList));
          assertTrue(ordering.isStrictlyOrdered(strictlyOrderedList));
        }
    
        // generic arrays and unchecked cast
        void testMinAndMax() {
          List<T> shuffledList = Lists.newArrayList(strictlyOrderedList);
          shuffledList = shuffledCopy(shuffledList, new Random(5));
    
    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/test/com/google/common/collect/OrderingTest.java

        }
    
        void testIsOrdered() {
          assertTrue(ordering.isOrdered(strictlyOrderedList));
          assertTrue(ordering.isStrictlyOrdered(strictlyOrderedList));
        }
    
        // generic arrays and unchecked cast
        void testMinAndMax() {
          List<T> shuffledList = Lists.newArrayList(strictlyOrderedList);
          shuffledList = shuffledCopy(shuffledList, new Random(5));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.SortedMap;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests operations on a SortedMap. Can't be invoked directly; please see
     * {@code SortedMapTestSuiteBuilder}.
     *
     * @author Jesse Wilson
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

    import java.util.List;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.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
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
Back to top