Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2061 - 2070 of 2,282 for test5 (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A wrapper around {@code TreeSet} that aggressively checks to see if elements are mutually
     * comparable. This implementation passes the navigable set test suites.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public final class SafeTreeSet<E> implements Serializable, NavigableSet<E> {
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkTester.java

          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top