- Sort Score
- Result 10 results
- Languages All
Results 691 - 700 of 940 for maker (0.03 sec)
-
tests/migrate_test.go
sql) } }, } DB.Migrator().DropTable(&MigrateInt{}) // The first AutoMigrate to make table with field with correct type if err := DB.AutoMigrate(&MigrateInt{}); err != nil { t.Fatalf("Failed to auto migrate: error: %v", err) } // make new session to set custom logger tracer session := DB.Session(&gorm.Session{Logger: tracer}) // The second AutoMigrate to catch an error
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Aug 20 04:51:17 UTC 2025 - 65.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
final AtomicReference<Throwable> caughtException = new AtomicReference<>(); indexUpdater.setUncaughtExceptionHandler((t, e) -> caughtException.set(e)); // Make dataService throw ContainerNotAvailableException ((TestDataService) dataService).setThrowContainerNotAvailable(true); indexUpdater.start(); indexUpdater.join(1000);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
* thereof. * * @param formal The type whose type variables or itself is mapped to other type(s). It's almost * always a bug if {@code formal} isn't a type variable and contains no type variable. Make * sure you are passing the two parameters in the right order. * @param actual The type that the formal type variable(s) are mapped to. It can be or contain yet
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_DeleteStatus(s); } TEST(CAPI, Session) { TF_Status* s = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Make a placeholder operation. TF_Operation* feed = Placeholder(graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Make a constant operation with the scalar "2". TF_Operation* two = ScalarConst(2, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
val googleRequest = Request .Builder() .url("https://www.google.com/robots.txt?s=g") .build() try { for (i in 1..2) { // Space out traffic to make it easier to demarcate. sendTestRequest(fbRequest) Thread.sleep(1000) sendTestRequest(twitterRequest) Thread.sleep(1000) sendTestRequest(googleRequest)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
* * @author Colin Decker */ final class SubscriberRegistry { /** * All registered subscribers, indexed by event type. * * <p>The {@link CopyOnWriteArraySet} values make it easy and relatively lightweight to get an * immutable snapshot of all current subscribers to an event without any locking. */ private final ConcurrentMap<Class<?>, CopyOnWriteArraySet<Subscriber>> subscribers =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
// We use this somewhat weird pattern with an enum for each assertion we want to make as a way // of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to // have to have duplicate @GwtIncompatible test methods just to make that assertion. for (AssertFailsToDecodeStrategy strategy : AssertFailsToDecodeStrategy.values()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt
* * Mappings may overlap. * * ASCII-Only * ========== * * Neither the section index nor the ranges data use bit 0x80 anywhere. That means the data is * strictly ASCII. This is intended to make it efficient to encode this data as a string, and to * index into it as a string. * * The mappings data contains non-ASCII characters. */ internal class IdnaMappingTable internal constructor(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
} servedDate != null -> { conditionName = "If-Modified-Since" conditionValue = servedDateString } else -> return CacheStrategy(request, null) // No condition! Make a regular request. } val conditionalRequestHeaders = request.headers.newBuilder() conditionalRequestHeaders.addLenient(conditionName, conditionValue!!) val conditionalRequest =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("connection and failure status delegate to transport") void testConnectionAndFailureStatus() { SmbSessionImpl session = newSession(); // Make session look connected via setSessionSetup Smb2SessionSetupResponse resp = mock(Smb2SessionSetupResponse.class); when(resp.getSessionId()).thenReturn(42L); session.setSessionSetup(resp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)