- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,979 for source (0.05 sec)
-
internal/dsync/drwmutex_test.go
resource := "test" runtime.GOMAXPROCS(gomaxprocs) // Number of active readers + 10000 * number of active writers. var activity int32 cdone := make(chan bool) go writer(resource, numIterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { go reader(resource, numIterations, &activity, cdone) } go writer(resource, numIterations, &activity, cdone)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyTest.kt
import okio.IOException import okio.Source import okio.buffer class ResponseBodyTest { @Test fun sourceEmpty() { val mediaType = if (null == null) null else "any/thing; charset=${null}".toMediaType() val body = "".decodeHex().toResponseBody(mediaType) val source = body.source() assertThat(source.exhausted()).isTrue() assertThat(source.readUtf8()).isEqualTo("") } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileToRawModelMerger.java
// don't merge } @Override protected void mergeModel_Licenses( Model.Builder builder, Model target, Model source, boolean sourceDominant, Map<Object, Object> context) { // don't merge } @Override protected void mergeModel_MailingLists(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java
} public InputLocation(int lineNumber, int columnNumber, InputSource source) { this(lineNumber, columnNumber, source, null); } public InputLocation(int lineNumber, int columnNumber, InputSource source, Object selfLocationKey) { this.lineNumber = lineNumber; this.columnNumber = columnNumber; this.source = source; this.locations =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Aug 15 13:24:49 UTC 2024 - 6.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
List<ByteSource> sources = Lists.newArrayList(); int start = 0; for (Integer span : spans) { sources.add(newByteSource(start, span)); start += span; } ByteSource joined = ByteSource.concat(sources); assertTrue(newByteSource(0, start).contentEquals(joined)); } public void testReadSingleByte() throws Exception { ByteSource source = newByteSource(0, 10);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.6K bytes - Viewed (0) -
lib/wasm/go_js_wasm_exec
#!/usr/bin/env bash # Copyright 2018 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" # Increase the V8 stack size from the default of 984K
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 603 bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
*/ internal class DerReader(source: Source) { private val countingSource: CountingSource = CountingSource(source) private val source: BufferedSource = countingSource.buffer() /** Total bytes read thus far. */ private val byteCount: Long get() = countingSource.bytesRead - source.buffer.size
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.5K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java
/** * Gets the user toolchains source. * * @return The user toolchains source or {@code null} if none. */ Source getUserToolchainsSource(); /** * Sets the user toolchains source. If both user toolchains and a global toolchains are given, the user toolchains * take precedence. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
s.data = data return s } // Source sets the source field on a secretItemBuilder func (s *secretItemBuilder) Source(source string) SecretItemBuilder { s.source = source return s } // Destination sets the destination field on a secretItemBuilder func (s *secretItemBuilder) Destination(dest string) SecretItemBuilder { s.dest = dest return s }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 8.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelData.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0)