- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 1,518 for source_ (0.44 sec)
-
internal/dsync/locked_rand.go
package dsync import ( "math/rand" "sync" ) // lockedRandSource provides protected rand source, implements rand.Source interface. type lockedRandSource struct { lk sync.Mutex src rand.Source } // Int63 returns a non-negative pseudo-random 63-bit integer as an int64. func (r *lockedRandSource) Int63() (n int64) { r.lk.Lock() n = r.src.Int63()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
socket.sink.buffer().use { sink -> socket.source.buffer().use { source -> sink.writeUtf8("client says hello\n") sink.flush() assertThat(source.readUtf8Line()).isEqualTo("server says hello") sink.writeUtf8("client says goodbye\n") sink.flush() assertThat(source.readUtf8Line()).isEqualTo("server says goodbye")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/FaultHidingSink.kt
val onException: (IOException) -> Unit, ) : ForwardingSink(delegate) { private var hasErrors = false override fun write( source: Buffer, byteCount: Long, ) { if (hasErrors) { source.skip(byteCount) return } try { super.write(source, byteCount) } catch (e: IOException) { hasErrors = true onException(e) } } override fun flush() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt
*/ class HeadersReader( val source: BufferedSource, ) { private var headerLimit = HEADER_LIMIT.toLong() /** Read a single line counted against the header size limit. */ fun readLine(): String { val line = source.readUtf8LineStrict(headerLimit) headerLimit -= line.length.toLong() return line }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
) stream.writeHeaders( responseHeaders = responseHeaders, outFinished = false, flushHeaders = false, ) file.source().use { source -> stream.sink.buffer().use { sink -> sink.writeAll(source) } } } private fun contentType(file: File): String = when { file.name.endsWith(".css") -> "text/css"Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java
import java.util.Objects; /** * Wraps an ordinary {@link URL} as a source. * * @deprecated since 4.0.0, use {@link org.apache.maven.api.services} instead */ @Deprecated(since = "4.0.0") public class UrlSource implements Source { private final URL url; private final int hashCode; /** * Creates a new source backed by the specified URL. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 2.4K bytes - Viewed (0) -
association.go
if rv.Len() > 0 { association.Error = association.Relationship.Field.Set(association.DB.Statement.Context, source, rv.Index(0).Addr().Interface()) if association.Relationship.Field.FieldType.Kind() == reflect.Struct { assignBacks = append(assignBacks, assignBack{Source: source, Dest: rv.Index(0)}) } } case reflect.Struct: if !rv.CanAddr() { association.Error = ErrInvalidValue
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:09:12 UTC 2025 - 23.6K bytes - Viewed (0) -
.github/workflows/test-redistribute.yml
with: python-version: "3.10" - name: Install build dependencies run: pip install build - name: Build source distribution env: TIANGOLO_BUILD_PACKAGE: ${{ matrix.package }} run: python -m build --sdist - name: Decompress source distribution run: | cd dist tar xvf fastapi*.tar.gz - name: Install test dependencies run: |Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Nov 21 13:03:21 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsCrawlingInfoParamBhv.java
try { final RESULT result = entityType.newInstance(); result.setCrawlingInfoId(DfTypeUtil.toString(source.get("crawlingInfoId"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setKey(DfTypeUtil.toString(source.get("key")));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.9K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
private final boolean global; private final Artifact source; private final Artifact target; private Relocation(boolean global, Artifact source, Artifact target) { this.predicate = artifactPredicate(source); this.global = global; this.source = source; this.target = target; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9K bytes - Viewed (0)