- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 579 for Printer (0.31 sec)
-
internal/dsync/drwmutex_test.go
// 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) for ; i < numReaders; i++ { go reader(resource, numIterations, &activity, cdone) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
int written = packet.writeResourceRecordWireFormat(dst, 0); assertEquals(12, written); // 2 (pointer) + 2 (type) + 2 (class) + 4 (ttl) + 2 (rDataLength) + 0 (rData) assertEquals((byte) 0xC0, dst[0]); // Pointer assertEquals((byte) 0x0C, dst[1]); assertEquals((byte) 0x00, dst[2]); // recordType high byte
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LongAdderTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** Unit tests for {@link LongAdder}. */ @NullUnmarked public class LongAdderTest extends TestCase { /** * No-op null-pointer test for {@link LongAdder} to override the {@link PackageSanityTests} * version, which checks package-private methods that we don't want to have to annotate as {@code * Nullable} because we don't want diffs from jsr166e. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/grid.go
xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/rest" ) // globalGrid is the global grid manager. var globalGrid atomic.Pointer[grid.Manager] // globalLockGrid is the global lock grid manager. var globalLockGrid atomic.Pointer[grid.Manager] // globalGridStart is a channel that will block startup of grid connections until closed. var globalGridStart = make(chan struct{})
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 3.7K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
/** * Returns an {@code OutputStream} that encodes bytes using this encoding into the specified * {@code Writer}. When the returned {@code OutputStream} is closed, so is the backing {@code * Writer}. */ @J2ktIncompatible @GwtIncompatible // Writer,OutputStream public abstract OutputStream encodingStream(Writer writer); /** * Returns a {@code ByteSink} that writes base-encoded bytes to the specified {@code CharSink}.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0) -
src/archive/tar/fuzz_test.go
err := w.WriteHeader(&Header{ Name: "lorem.txt", Mode: 0600, Size: int64(len(inp)), }) if err != nil { f.Fatalf("failed to create writer: %s", err) } _, err = w.Write(inp) if err != nil { f.Fatalf("failed to write file to archive: %s", err) } if err := w.Close(); err != nil { f.Fatalf("failed to write archive: %s", err) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jan 13 18:06:33 UTC 2022 - 2.2K bytes - Viewed (0) -
internal/http/response-recorder.go
} // Hijack - hijacks the underlying connection func (lrw *ResponseRecorder) Hijack() (net.Conn, *bufio.ReadWriter, error) { hj, ok := lrw.ResponseWriter.(http.Hijacker) if !ok { return nil, nil, fmt.Errorf("response writer does not support hijacking. Type is %T", lrw.ResponseWriter) } return hj.Hijack() } // TTFB of the request - this function needs to be called // when the request is finished to provide accurate data
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
} } /** * Exports elevate words to a CSV file. * CSV format: SuggestWord, Reading, Permissions, Labels, Boost * * @param writer the Writer to output CSV data to */ public void exportCsv(final Writer writer) { final PermissionHelper permissionHelper = ComponentUtil.getPermissionHelper(); final CsvConfig cfg = new CsvConfig(',', '"', '"');Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 18.3K bytes - Viewed (0) -
cmd/erasure-decode.go
} // Decode reads from readers, reconstructs data if needed and writes the data to the writer. // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed. func (e Erasure) Decode(ctx context.Context, writer io.Writer, readers []io.ReaderAt, offset, length, totalLength int64, prefer []bool) (written int64, derr error) { if offset < 0 || length < 0 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
} protected Consumer<String> determineWriter(C context) { if (context.writer == null) { context.writer = doDetermineWriter(context); } return context.writer; } protected Consumer<String> doDetermineWriter(C context) { if (context.options().logFile().isPresent()) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Oct 28 13:01:07 UTC 2025 - 43.2K bytes - Viewed (0)