- Sort Score
- Num 10 results
- Language All
Results 1301 - 1310 of 2,061 for mirror (0.1 seconds)
-
internal/ioutil/append-file_nix.go
package ioutil import ( "io" "os" ) // AppendFile - appends the file "src" to the file "dst" func AppendFile(dst string, src string, osync bool) error { flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE if osync { flags |= os.O_SYNC } appendFile, err := os.OpenFile(dst, flags, 0o666) if err != nil { return err } defer appendFile.Close()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 1.3K bytes - Click Count (0) -
internal/ioutil/discard.go
// and as such incurred latencies. var Discard io.Writer = discard{} // discard is /dev/null for Golang. type discard struct{} func (discard) Write(p []byte) (int, error) { return len(p), nil } // DiscardReader discarded reader func DiscardReader(r io.Reader) { Copy(Discard, r)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 06 22:26:08 GMT 2023 - 1.3K bytes - Click Count (0) -
cmd/http-tracer_test.go
} wg.Wait() finalStats := httpStats.toServerHTTPStats(false) totalRequests := 0 for _, v := range finalStats.TotalS3Requests.APIStats { totalRequests += v } if totalRequests == 0 { t.Error("Expected some total requests to be recorded, but got zero") } t.Logf("Total requests recorded: %d", totalRequests) t.Logf("Race condition test passed - no races detected") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
internal/s3select/csv/args.go
func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) { args.FileHeaderInfo = none args.RecordDelimiter = defaultRecordDelimiter args.FieldDelimiter = defaultFieldDelimiter args.QuoteCharacter = defaultQuoteCharacter args.QuoteEscapeCharacter = defaultQuoteEscapeCharacter
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 20 18:31:45 GMT 2024 - 5.7K bytes - Click Count (0) -
architecture/standards/0008-use-nullaway.md
Use "NullAway" in JSpecify mode to check for null-related errors in Java code. Consider improper uses of `null` detected by NullAway a compilation error (not a warning, and not a separate CI job to test). Do not suppress NullAway errors without a justification. Prefer rearranging the code to avoid the error, unless there is a provable performance penalty or a significant loss of code readability.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0) -
cmd/bucket-replication-utils.go
ResyncTimestamp string ReplicationResynced bool // true only if resync attempted for this target endpoint string secure bool Err error // replication error if any } // Empty returns true for a target if arn is empty func (rt replicatedTargetInfo) Empty() bool { return rt.Arn == "" } type replicatedInfos struct { ReplicationTimeStamp time.Time
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.1K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/metacache-entries.go
// The entry not chosen will be discarded. // If the context is canceled the function will return the error, // otherwise the function will return nil. func mergeEntryChannels(ctx context.Context, in []chan metaCacheEntry, out chan<- metaCacheEntry, readQuorum int) error { defer xioutil.SafeClose(out) top := make([]*metaCacheEntry, len(in)) nDone := 0 ctxDone := ctx.Done()
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 08 15:29:58 GMT 2024 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
when(locator.getURL()).thenReturn(createSmbURL("smb://")); when(nameFilter.accept(any(SmbResource.class), anyString())).thenThrow(new CIFSException("Filter error")); // Mock response when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> { return invocation.getArgument(1); });
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
guava/src/com/google/common/io/ByteStreams.java
* * @param from the input stream to read from * @param to the output stream to write to * @return the number of bytes copied * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue public static long copy(InputStream from, OutputStream to) throws IOException { checkNotNull(from); checkNotNull(to); byte[] buf = createBuffer();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 31.1K bytes - Click Count (0)