Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 1,351 for testname (0.04 sec)

  1. tests/query_test.go

    func TestQueryScanToArray(t *testing.T) {
    	err := DB.Create(&User{Name: "testname1", Age: 10}).Error
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	users := [2]*User{{Name: "1"}, {Name: "2"}}
    	err = DB.Model(&User{}).Where("name = ?", "testname1").Find(&users).Error
    	if err != nil {
    		t.Fatal(err)
    	}
    	if users[0] == nil || users[0].Name != "testname1" {
    		t.Error("users[0] not covered")
    	}
    	if users[1] != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	type UniqueStruct8 struct { // unique and uniqueIndex
    		Name string `gorm:"size:60;unique;index:my_us8_index,unique;"`
    	}
    	checkField(&UniqueStruct8{}, "name", true, "my_us8_index")
    
    	type TestCase struct {
    		name      string
    		from, to  interface{}
    		checkFunc func(t *testing.T)
    	}
    
    	checkColumnType := func(t *testing.T, fieldName string, unique bool) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

          builder: HttpUrl.Builder,
          value: String,
        )
    
        abstract operator fun get(url: HttpUrl): String
    
        /**
         * Returns a character equivalent to 's' in this component. This is used to convert hostname
         * characters to lowercase.
         */
        open fun canonicalize(s: String): String = s
      }
    
      /** Tests integration between HttpUrl and the host platform's built-in URL classes, if any. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

      }
    
      private fun urlWithIpAddress(
        server: MockWebServer,
        path: String,
      ): HttpUrl =
        server
          .url(path)
          .newBuilder()
          .host(InetAddress.getByName(server.hostName).hostAddress)
          .build()
    
      private operator fun get(url: HttpUrl) {
        val call =
          client.newCall(
            Request
              .Builder()
              .url(url)
              .build(),
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/config/openapi/openapi-user.yaml

                            host:
                              type: string
                              format: hostname
                              example: "fess.codelibs.org"
                            last_modified:
                              type: string
                              format: date-time
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            State current = evaluateState();
            return current != State.OPEN;
        }
    
        /**
         * Get the circuit breaker name
         *
         * @return name
         */
        public String getName() {
            return name;
        }
    
        /**
         * Circuit breaker statistics
         */
        public static class Statistics {
            public final String name;
            public final State state;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

         *
         * @return the XPathAPI instance
         */
        protected XPathAPI getXPathAPI() {
            try {
                return xpathAPICache.get(Thread.currentThread().getName());
            } catch (final ExecutionException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to retrieval a cache.", e);
                }
                return new XPathAPI();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        cookieJar.enqueueRequestCookies(
          Cookie
            .Builder()
            .name("a")
            .value("b")
            .domain(server.hostName)
            .build(),
          Cookie
            .Builder()
            .name("c")
            .value("d")
            .domain(server.hostName)
            .build(),
        )
        client =
          client
            .newBuilder()
            .cookieJar(cookieJar)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ImmutableMap}.
     *
     * @author Kevin Bourrillion
     * @author Jesse Wilson
     */
    @GwtCompatible
    @SuppressWarnings("AlwaysThrows")
    @NullMarked
    public class ImmutableMapTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import java.lang.ref.Reference;
    import java.util.concurrent.atomic.AtomicReferenceArray;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * @author Charles Fry
     */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    @NullUnmarked
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top