Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1881 - 1890 of 2,093 for test0 (0.02 sec)

  1. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

    import java.util.Map.Entry;
    import java.util.NavigableMap;
    import java.util.NavigableSet;
    import java.util.SortedMap;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link Maps#synchronizedNavigableMap(NavigableMap)}.
     *
     * @author Louis Wasserman
     */
    public class SynchronizedNavigableMapTest extends SynchronizedMapTest {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

     *
     * @param <InputT> the type of the individual inputs
     * @param <OutputT> the type of the output (i.e. this) future
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings(
        // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
        "ShortCircuitBoolean")
    abstract class AggregateFuture<InputT extends @Nullable Object, OutputT extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        byte[][] arrays = new byte[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

                  SmbResource c = new SmbFile(r, "test?#foo") ) {
                assertEquals("test?#foo", c.getName());
                try ( SmbFile t = new SmbFile(c.getLocator().getURL(), getContext()) ) {
                    assertEquals("test%3f#foo", t.getName());
                }
            }
        }
    
    
        @Test
        public void testBindingAddress () throws DcerpcException, MalformedURLException, CIFSException, IOException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

    import com.google.common.testing.SerializableTester;
    import java.math.BigInteger;
    import java.util.List;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestSuite;
    
    /**
     * Tests for {@link ImmutableRangeSet}.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // ImmutableRangeSet
    public class ImmutableRangeSetTest extends AbstractRangeSetTest {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. common/scripts/kind_provisioner.sh

        KUBECONFIG="${CLUSTER_KUBECONFIG}" setup_kind_cluster "${CLUSTER_NAME}" "${IMAGE}" "${CLUSTER_YAML}" "true" "false"
    
        # Kind currently supports getting a kubeconfig for internal or external usage. To simplify our tests,
        # its much simpler if we have a single kubeconfig that can be used internally and externally.
        # To do this, we can replace the server with the IP address of the docker container
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. 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)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/bitrot.go

    			return errFileCorrupt
    		}
    
    		left -= read
    		if !bytes.Equal(h.Sum(nil), hashBuf[:n]) {
    			return errFileCorrupt
    		}
    	}
    	return nil
    }
    
    // bitrotSelfTest performs a self-test to ensure that bitrot
    // algorithms compute correct checksums. If any algorithm
    // produces an incorrect checksum it fails with a hard error.
    //
    // bitrotSelfTest tries to catch any issue in the bitrot implementation
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  9. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val groovyNio = "$groovyGroup:groovy-nio"
        val groovySql = "$groovyGroup:groovy-sql"
        val groovyTemplates = "$groovyGroup:groovy-templates"
        val groovyTest = "$groovyGroup:groovy-test"
        val groovyXml = "$groovyGroup:groovy-xml"
        val gson = "com.google.code.gson:gson"
        val guava = "com.google.guava:guava"
        val h2Database = "com.h2database:h2"
        val hamcrest = "org.hamcrest:hamcrest"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/location.js

    virginia","wisconsin","wyoming"],errorMessage:"",errorMessageKey:"badCustomVal"}),a.formUtils.addValidator({name:"longlat",validatorFunction:function(a){var b=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;return b.test(a)},errorMessage:"",errorMessageKey:"badCustomVal"});var b=function(b){var c=[];return a.each(b,function(a,b){c.push(b.substr(0,1).toUpperCase()+b.substr(1,b.length))}),c.sort(),c};a.fn.suggestCountry=function(c){var d=b(a.formUtils.validators.val...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 5.2K bytes
    - Viewed (0)
Back to top