Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1771 - 1780 of 2,023 for testu (0.02 sec)

  1. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.charset.Charset;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for {@link Murmur3_32HashFunction}. */
    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
        assertHash(593689054, murmur3_32().hashInt(0));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
        return ImmutableList.of(
            Striped.readWriteLock(100),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/EnumsTest.java

    import java.lang.reflect.Field;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.util.HashSet;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link Enums}.
     *
     * @author Steve McKay
     */
    @GwtIncompatible
    @J2ktIncompatible
    public class EnumsTest extends TestCase {
    
      private enum TestEnum {
        CHEETO,
        HONDA,
        POODLE,
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

    import java.util.concurrent.locks.ReadWriteLock;
    import java.util.concurrent.locks.ReentrantLock;
    import java.util.concurrent.locks.ReentrantReadWriteLock;
    import junit.framework.TestCase;
    
    /**
     * Tests for Striped.
     *
     * @author Dimitris Andreou
     */
    public class StripedTest extends TestCase {
      private static List<Striped<?>> strongImplementations() {
        return ImmutableList.of(
            Striped.readWriteLock(100),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. tests/serializer_test.go

    package tests_test
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/schema"
    	. "gorm.io/gorm/utils/tests"
    )
    
    type SerializerStruct struct {
    	gorm.Model
    	Name                   []byte                 `gorm:"json"`
    	Roles                  Roles                  `gorm:"serializer:json"`
    	Roles2                 *Roles                 `gorm:"serializer:json"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Apr 21 14:09:38 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt

       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
      override fun test(
        codePoint: Int,
        codePointString: String,
        encoding: UrlComponentEncodingTester.Encoding,
        component: Component,
      ) {
        testToUrl(codePoint, encoding, component)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheStatsTest.java

     * limitations under the License.
     */
    
    package com.google.common.cache;
    
    import static com.google.common.truth.Truth.assertThat;
    
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link CacheStats}.
     *
     * @author Charles Fry
     */
    public class CacheStatsTest extends TestCase {
    
      public void testEmpty() {
        CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                              <dependency>
                                <groupId>org.junit.jupiter</groupId>
                                <artifactId>junit-jupiter-api</artifactId>
                                <scope>test</scope>
                              </dependency>
                            </dependencies>
    
                        </project>
                        """;
            Path pom = cwd.resolve("pom.xml").toAbsolutePath();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/templates.md

    ```
    
    And because you are using `StaticFiles`, that CSS file would be served automatically by your **FastAPI** application at the URL `/static/styles.css`.
    
    ## More details
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

       */
      @Test
      fun connectionsAreNotReusedIfNetworkInterceptorInterferes() {
        val responsesNotClosed: MutableList<Response?> = ArrayList()
        client =
          client.newBuilder()
            // Since this test knowingly leaks a connection, avoid using the default shared connection
            // pool, which should remain clean for subsequent tests.
            .connectionPool(ConnectionPool())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top