- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 908 for writeTo (0.06 seconds)
-
internal/dsync/drwmutex.go
} // A DRWMutex is a distributed mutual exclusion lock. type DRWMutex struct { Names []string writeLocks []string // Array of nodes that granted a write lock readLocks []string // Array of array of nodes that granted reader locks rng *rand.Rand m sync.Mutex // Mutex to prevent multiple simultaneous locks from this nodeCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.3K bytes - Click Count (0) -
ci/official/envs/public_cache_push
# limitations under the License. # ============================================================================== # Sourcing this enables Bazel remote cache (read and write) # Note that "_push" cache configs write to GCS buckets and require # authentication. If you are not a Googler, source "public_cache" to enable the # public read-only cache. # The cache configs are different for MacOS and Linux
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/LoggingOutputStream.java
this.consumer = consumer; } public PrintStream printStream() { return new LoggingPrintStream(this); } @Override public void write(int b) throws IOException { super.write(b); if (buf.isEol()) { String line = new String(buf.toByteArray(), 0, buf.size() - LINE_SEP.length); ProjectBuildLogAppender.updateMdc(); consumer.accept(line);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Feb 12 12:31:43 GMT 2025 - 3K bytes - Click Count (0) -
internal/grid/benchmark_test.go
} const payloadSize = 512 rng := rand.New(rand.NewSource(time.Now().UnixNano())) payload := make([]byte, payloadSize) _, err = rng.Read(payload) errFatal(err) // Wait for all to connect // Parallel writes per server. b.Run("bytes", func(b *testing.B) { for par := 1; par <= 32; par *= 2 { b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) { defer timeout(60 * time.Second)()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/ToolchainsXmlFactory.java
* under the License. */ package org.apache.maven.api.services.xml; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.toolchain.PersistedToolchains; /** * Reads and writes a {@link PersistedToolchains} object to/from XML. * * @since 4.0.0 */ @ExperimentalCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 1.1K bytes - Click Count (0) -
internal/s3select/jstream/decoder.go
func (kvs KVS) MarshalJSON() ([]byte, error) { b := new(bytes.Buffer) b.Write([]byte("{")) for i, kv := range kvs { b.Write([]byte("\"" + kv.Key + "\"" + ":")) valBuf, err := json.Marshal(kv.Value) if err != nil { return nil, err } b.Write(valBuf) if i < len(kvs)-1 { b.Write([]byte(",")) } } b.Write([]byte("}")) return b.Bytes(), nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
cmd/erasure-sets.go
} if err := saveFormatErasure(storageDisks[index], format, formatOpID); err != nil { healingLogIf(ctx, fmt.Errorf("Drive %s failed to write updated 'format.json': %v", storageDisks[index], err)) storageDisks[index].Close() tmpNewFormats[index] = nil // this disk failed to write new format } } s.erasureDisksMu.Lock() for index, format := range tmpNewFormats { if format == nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
List<MojoExecution> executions = getExecutions(plan); // [01] clean:clean // [02] modello:xpp3-writer // [03] modello:java // [04] modello:xpp3-reader // [05] modello:xpp3-writer // [06] modello:java // [07] modello:xpp3-reader // [08] plugin:descriptor // [09] resources:resourcesCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 22.9K bytes - Click Count (0) -
.github/workflows/lock.yml
name: 'Lock Threads' on: schedule: - cron: '0 0 * * *' workflow_dispatch: permissions: issues: write concurrency: group: lock jobs: action: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v3 with: github-token: ${{ github.token }} issue-inactive-days: '365' exclude-any-issue-labels: 'do-not-close'
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 30 03:27:43 GMT 2022 - 447 bytes - Click Count (0) -
guava-tests/test/com/google/common/io/ByteSinkTest.java
assertFalse(sink.wasStreamClosed()); out.write(new byte[] {1, 2, 3, 4}); out.close(); assertTrue(sink.wasStreamClosed()); assertArrayEquals(new byte[] {1, 2, 3, 4}, sink.getBytes()); } public void testWrite_bytes() throws IOException { assertArrayEquals(new byte[0], sink.getBytes()); sink.write(bytes); assertTrue(sink.wasStreamOpened() && sink.wasStreamClosed());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.8K bytes - Click Count (0)