- Sort Score
- Num 10 results
- Language All
Results 4441 - 4450 of 5,248 for strike (0.26 seconds)
-
tests/benchmark_test.go
DB.Raw("select * from users").Scan(&u) } } func BenchmarkUpdate(b *testing.B) { user := *GetUser("find", Config{}) DB.Create(&user) for x := 0; x < b.N; x++ { DB.Model(&user).Updates(map[string]interface{}{"Age": x}) } } func BenchmarkDelete(b *testing.B) { user := *GetUser("find", Config{}) for x := 0; x < b.N; x++ { user.ID = 0 DB.Create(&user) DB.Delete(&user) }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 01 03:50:57 GMT 2022 - 1.5K bytes - Click Count (0) -
internal/http/check_port_others.go
// Note: The check method tries to listen on given port and closes it. // It is possible to have a disconnected client in this tiny window of time. func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{} ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.5K bytes - Click Count (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt
import javax.inject.Inject @DisableCachingByDefault(because = "Not worth caching") abstract class GenerateSample : DefaultTask() { @get:Input abstract val type: Property<String> @get:Input abstract val modularization: Property<ModularizationOption> @get:InputDirectory @get:PathSensitive(PathSensitivity.NAME_ONLY) abstract val readmeTemplates: DirectoryProperty
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
internal lateinit var connectionName: String internal var listener = Listener.REFUSE_INCOMING_STREAMS internal var pushObserver = PushObserver.CANCEL internal var pingIntervalMillis: Int = 0 internal var flowControlListener: FlowControlListener = FlowControlListener.None @Throws(IOException::class) fun socket( socket: BufferedSocket, peerName: String, ) = apply {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 31.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
} @Override public Set<K> keySet() { return keyIndex.keySet(); } K getKey(int index) { return keyIndex.keySet().asList().get(index); } abstract String getKeyRole(); @ParametricNullness abstract V getValue(int index); @ParametricNullness abstract V setValue(int index, @ParametricNullness V newValue); @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
@Test fun serverCancelsRequestBodyAndSendsResponseBody() { client = client .newBuilder() .retryOnConnectionFailure(false) .build() val log: BlockingQueue<String?> = LinkedBlockingQueue() enableProtocol(Protocol.HTTP_2) val body = MockSocketHandler() .sendResponse("success!") .exhaustResponse() .cancelStream() server.enqueue(
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
} private WithExceptionalConstructor(String unused) {} } private static class WithPublicConstant { @Keep public static final WithPublicConstant INSTANCE = new WithPublicConstant(); } private static class ParentClassHasConstant extends WithPublicConstant {} public static class WithGenericConstant<T> { public static final WithGenericConstant<String> STRING_CONSTANT = new WithGenericConstant<>();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 22.2K bytes - Click Count (0) -
cmd/metacache-stream_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 15K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmChallenge.java
*/ public NtlmChallenge(final byte[] challenge, final UniAddress dc) { this.challenge = challenge; this.dc = dc; } @Override public String toString() { return "NtlmChallenge[challenge=0x" + Hexdump.toHexString(this.challenge, 0, this.challenge.length * 2) + ",dc=" + this.dc.toString() + "]"; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/FileEntry.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.9K bytes - Click Count (0)