Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 184 for haninge (0.04 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

    import java.lang.reflect.Method;
    import java.util.Locale;
    import junit.framework.TestCase;
    
    /**
     * Since annotations have some reusability issues that force copy and paste all over the place, it's
     * worth having a test to ensure that all our Feature enums have their annotations correctly set up.
     *
     * @author George van den Driessche
     */
    public class FeatureEnumTest extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java

        }
    
        resetContainer(getSubjectGenerator().create(entries.toArray()));
        assertEquals(
            "A Map's hashCode() should be the sum of those of its entries (where "
                + "a null element in an entry counts as having a hash of zero).",
            expectedHashCode,
            getMap().hashCode());
      }
    
      private static int hash(Entry<?, ?> e) {
        return (e.getKey() == null ? 0 : e.getKey().hashCode())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactory.java

         * Creates coordinates out of string that is formatted like:
         * {@code <groupId>:<artifactId>[:<extension>[:<classifier>]]:<version>}
         *
         * @param session the session.
         * @param coordinatesString the string having "standard" coordinates.
         * @return an {@code ArtifactCoordinates}, never {@code null}
         * @throws IllegalArgumentException if {@code session} is null or invalid
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Mar 24 14:10:11 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. generics.go

    }
    
    func (c chainG[T]) Group(name string) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Group(name)
    	})
    }
    
    func (c chainG[T]) Having(query interface{}, args ...interface{}) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Having(query, args...)
    	})
    }
    
    func (c chainG[T]) Order(value interface{}) ChainInterface[T] {
    	return c.with(func(db *DB) *DB {
    		return db.Order(value)
    	})
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

                request.writeBytesWireFormat(smallBuffer, 0);
            });
        }
    
        @Test
        @DisplayName("Test file ID boundary values")
        void testFileIdBoundaryValues() {
            // Test with file ID having maximum byte values
            byte[] maxFileId = new byte[16];
            Arrays.fill(maxFileId, (byte) 0xFF);
            Smb2FlushRequest maxRequest = new Smb2FlushRequest(mockConfig, maxFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    like having a game of play with a cart-horse, and expecting every
    moment to be trampled under its feet, ran round the thistle
    again; then the puppy began a series of short charges at the
    stick, running a very little way forwards each time and a long
    way back, and barking hoarsely all the while, till at last it sat
    down a good way off, panting, with its tongue hanging out of its
    mouth, and its great eyes half shut.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 145.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

       * are actually available for reading. (For example, some special files may return a size of 0
       * despite actually having content when read.) This means that a source may return {@code true}
       * from {@code isEmpty()} despite having readable content.
       *
       * @throws IOException if an I/O error occurs
       * @since 15.0
       */
      public boolean isEmpty() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/NullnessCasts.java

       * {@code null}!) before returning it to callers. Depending on how the code is structured, a
       * nullness analysis might not understand that the field has been populated. To avoid that problem
       * without having to add {@code @SuppressWarnings}, the code can call this method.
       *
       * <p>Why <i>not</i> just add {@code SuppressWarnings}? The problem is that this method is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

        elements.add(null);
        collection = getSubjectGenerator().create(elements.toArray());
        assertEquals(
            "A Set's hashCode() should be the sum of those of its elements (with "
                + "a null element counting as having a hash of zero).",
            expectedHashCode,
            getSet().hashCode());
      }
    
      /**
       * Returns the {@link Method} instances for the test methods in this class which call {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java

       * are responsible for taking the mutex themselves:
       * https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/Collections.html#synchronizedCollection(java.util.Collection)
       *
       * Similarly, we avoid having those methods *implemented* in terms of *other* TestSet methods
       * that will perform holdsLock assertions:
       *
       * - For iterator(), we can accomplish that by not overriding iterator() at all. That way, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top