- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 210 for discarded (0.18 sec)
-
internal/s3select/select.go
return bytes.NewBuffer(make([]byte, 0, maxRecordSize)) }, } var bufioWriterPool = sync.Pool{ New: func() interface{} { // io.Discard is just used to create the writer. Actual destination // writer is set later by Reset() before using it. return bufio.NewWriter(xioutil.Discard) }, } // UnmarshalXML - decodes XML data. func (c *CompressionType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 21K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
} // If the peer sends more data than we can handle, discard it and close the connection. if (flowControlError) { source.skip(remainingByteCount) closeLater(ErrorCode.FLOW_CONTROL_ERROR) return } // Discard data received after the stream is finished. It's probably a benign race. if (finished) {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 23.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProperty.java
return this; } @Override protected ExecutionTimeValue<? extends T> calculateOwnExecutionTimeValue(EvaluationContext.ScopeContext context, ProviderInternal<? extends T> value) { // Discard this property from a provider chain, as it does not contribute anything to the calculation. return value.calculateExecutionTimeValue(); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:33:15 UTC 2024 - 6.1K bytes - Viewed (0) -
src/net/http/transport_internal_test.go
TLSNextProto: map[string]func(string, *tls.Conn) RoundTripper{ "foo": func(authority string, c *tls.Conn) RoundTripper { return roundTripFunc(func(r *Request) (*Response, error) { n, _ := io.Copy(io.Discard, r.Body) if n == 0 { t.Error("body length is zero") } if roundTripped { return &Response{ Body: NoBody, StatusCode: 200, }, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:57:17 UTC 2024 - 6.2K bytes - Viewed (0) -
src/vendor/golang.org/x/net/nettest/conntest.go
}() } } // testRacyWrite tests that it is safe to mutate the input Write buffer // immediately after cancelation has occurred. func testRacyWrite(t *testing.T, c1, c2 net.Conn) { go chunkedCopy(io.Discard, c2) var wg sync.WaitGroup defer wg.Wait() c1.SetWriteDeadline(time.Now().Add(time.Millisecond)) for i := 0; i < 10; i++ { wg.Add(1) go func() { defer wg.Done()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt
bind(GroovyMetaClassCodec) } internal object ClosureCodec : Codec<Closure<*>> { override suspend fun WriteContext.encode(value: Closure<*>) { // Write the owning script for the closure // Discard the delegate, this will be replaced by the caller writeReference(findOwningScript(value)) writeReference(value.thisObject) encodeBean(value.dehydrate()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 6.1K bytes - Viewed (0) -
src/os/removeall_at.go
} numErr++ if recurseErr == nil { recurseErr = err } } } // If we can delete any entry, break to start new iteration. // Otherwise, we discard current names, get next entries and try deleting them. if numErr != reqSize { break } } // Removing files from the directory may have caused
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go
logWriters = append(logWriters, logFile) } if rcfg.LogWriter != nil { logWriters = append(logWriters, rcfg.LogWriter) } var logWriter io.Writer switch len(logWriters) { case 0: logWriter = io.Discard case 1: logWriter = logWriters[0] default: logWriter = io.MultiWriter(logWriters...) } logger := log.New(logWriter, "", log.Ltime|log.Lmicroseconds|log.Lshortfile)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 5.5K bytes - Viewed (0) -
src/unique/handle.go
ma = addUniqueMap[T](typ) } m := ma.(*uniqueMap[T]) // Keep around any values we allocate for insertion. There // are a few different ways we can race with other threads // and create values that we might discard. By keeping // the first one we make around, we can avoid generating // more than one per racing thread. var ( toInsert *T // Keep this around to keep it alive. toInsertWeak weak.Pointer[T] )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
where: consumer << throwingConsumers() } def "calling #consumer throws exception if added item provider references the property and discards producer"( Consumer<ProviderInternal<?>> consumer ) { given: def property = property() Provider<T> item = property.map { list -> list.iterator().next() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0)