Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 739 for testDfs (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

    import java.lang.Thread.UncaughtExceptionHandler;
    import java.util.Locale;
    import java.util.concurrent.ThreadFactory;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for ThreadFactoryBuilder.
     *
     * @author Kurt Alfred Kluever
     * @author Martin Buchholz
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class ThreadFactoryBuilderTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
        return HASH_FN.hashBytes(bytes, 0, length).asLong();
      }
    
      /**
       * Tests that the Java port of FarmHashFingerprint64 provides the same results on buffers up to
       * 800 bytes long as the C++ reference implementation.
       */
      public void testMultipleLengths() {
        int iterations = 800;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    @NullMarked
    public class MultimapPutTester<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMultimapTester<K, V, Multimap<K, V>> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

            assertEquals("first", result.get(0));
            assertNull(result.get(1));
            assertEquals("third", result.get(2));
        }
    
        /**
         * Test helper class for serialization tests
         */
        public static class TestSerializableClass implements Serializable {
            private static final long serialVersionUID = 1L;
    
            public String name;
            public int value;
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/config/MultiChannelConfigurationTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Properties;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.CIFSException;
    
    /**
     * Unit tests for Multi-Channel configuration properties
     */
    class MultiChannelConfigurationTest {
    
        @Test
        void testDefaultMultiChannelSettings() throws CIFSException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

    import jcifs.CIFSException;
    
    class SingletonContextTest {
    
        private static final Logger log = LoggerFactory.getLogger(SingletonContextTest.class);
    
        // Use reflection to reset the singleton instance between tests
        @BeforeEach
        @AfterEach
        void resetSingleton() {
            try {
                Field instance = SingletonContext.class.getDeclaredField("INSTANCE");
                instance.setAccessible(true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. tests/connpool_test.go

    package tests_test
    
    import (
    	"context"
    	"database/sql"
    	"os"
    	"reflect"
    	"testing"
    
    	"gorm.io/driver/mysql"
    	"gorm.io/gorm"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type wrapperTx struct {
    	*sql.Tx
    	conn *wrapperConnPool
    }
    
    func (c *wrapperTx) PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.PrepareContext(ctx, query)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/vagrant/VagrantMachine.java

            }
            execute(spec -> {
                spec.setCommand("box");
                spec.setSubcommand("update");
            });
    
            // Destroying before every execution can be annoying while iterating on tests locally. Therefore, we provide a flag that defaults
            // to true that can be used to control whether or not to destroy any test boxes before test execution.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import java.util.Arrays;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class Crc32cHashFunctionTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 6.6K bytes
    - Click Count (0)
Back to Top