- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 210 for discarded (0.15 sec)
-
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/ResolveArtifactNodeCodec.kt
object ResolveArtifactNodeCodec : Codec<DefaultResolvableArtifact.ResolveAction> { override suspend fun WriteContext.encode(value: DefaultResolvableArtifact.ResolveAction) { // TODO - should just discard this action. The artifact location will already have been resolved during writing to the cache // and so this node does not do anything useful write(value.artifact) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/WorkNodeActionCodec.kt
override suspend fun WriteContext.encode(value: WorkNodeAction) { logNotImplemented(value.javaClass) } override suspend fun ReadContext.decode(): WorkNodeAction { // TODO - should discard from graph instead return object : WorkNodeAction { override fun run(context: NodeExecutionContext) { // Ignore } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/GlobalUserInputReceiver.java
* The instance is not injected directly into this service as the instance will be constructed in some other scope. * </p> */ void dispatchTo(UserInputReceiver userInput); /** * Discards the current {@link UserInputReceiver} instance used by this service. */ void stopDispatching();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 2.1K bytes - Viewed (0) -
src/runtime/testdata/testprog/crash.go
} // Test that panic message is not clobbered. // See issue 30150. func DoublePanic() { defer func() { panic(P("YYY")) }() panic(P("XXX")) } // Test that panic while panicking discards error message // See issue 52257 type exampleError struct{} func (e exampleError) Error() string { panic("important multi-line\nerror message") } func ErrorPanic() { panic(exampleError{}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 2.5K bytes - Viewed (0) -
src/net/sendfile_test.go
} }() wg.Add(1) go func() { // Connect to the server started two goroutines up and // discard any data that it writes. defer wg.Done() conn, err := Dial("tcp", ln.Addr().String()) if err != nil { t.Error(err) return } defer conn.Close() io.Copy(io.Discard, conn) }() // Wait for the byte to be copied, meaning that sendfile has // been called on the pipe.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ProviderCodecs.kt
value.isMissing -> { // Can serialize a fixed value and discard the provider // TODO - should preserve information about the source, for diagnostics at execution time writeByte(1) } value.hasFixedValue() && sideEffect == null -> { // Can serialize a fixed value and discard the provider
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.2K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
} } func TestCloseOnWriter(t *testing.T) { writer := WriteOnClose(io.Discard) if writer.HasWritten() { t.Error("WriteOnCloser must not be marked as HasWritten") } writer.Write(nil) if !writer.HasWritten() { t.Error("WriteOnCloser must be marked as HasWritten") } writer = WriteOnClose(io.Discard) writer.Close() if !writer.HasWritten() { t.Error("WriteOnCloser must be marked as HasWritten")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/moduleconverter/DefaultRootComponentMetadataBuilder.java
} @Override public MutationValidator getValidator() { return holder; } @Override public void discardAll() { holder.discard(); } private static class MetadataHolder implements MutationValidator { @Nullable private SoftReference<LocalComponentGraphResolveState> reference; @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 11.6K bytes - Viewed (0) -
internal/bpool/bpool.go
func (bp *BytePoolCap) Put(b []byte) { if bp == nil { return } select { case bp.c <- b: // buffer went back into pool default: // buffer didn't go back into pool, just discard } } // Width returns the width of the byte arrays in this pool. func (bp *BytePoolCap) Width() (n int) { if bp == nil { return 0 } return bp.w }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 19 16:44:59 UTC 2024 - 2.6K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt
/** * Compute if the value of a given expression is possibly used. Or, * conversely, compute whether the value of an expression is *not* safe to * discard. * * E.g. `x` in the following examples *are* used (`x.isUsedAsExpression() == true`) * - `if (x) { ... } else { ... }` * - `val a = x` * - `x + 8`
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:35 UTC 2024 - 3.4K bytes - Viewed (0)