Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 727 for simplicity (0.15 sec)

  1. src/cmd/cgo/internal/test/callback_windows.go

    		PRUNTIME_FUNCTION FunctionEntry;
    		ULONG64 ImageBase;
    		VOID *HandlerData;
    		ULONG64 EstablisherFrame;
    
    		FunctionEntry = RtlLookupFunctionEntry(ControlPc, &ImageBase, NULL);
    
    		if (!FunctionEntry) {
    			// For simplicity, don't unwind leaf entries, which are not used in this test.
    			break;
    		} else {
    			RtlVirtualUnwind(0, ImageBase, ControlPc, FunctionEntry, &context, &HandlerData, &EstablisherFrame, NULL);
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 16:01:37 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. architecture/standards/0002-avoid-using-java-serialization.md

    ## Date
    
    2012-12-01
    
    ## Context
    
    In Gradle we often need to serialize in-memory objects for caching, or to transmit them across process barriers, etc.
    Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks:
    
    - **Performance:**
    Java's built-in serialization mechanism is often slower compared to other serialization solutions.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 22:32:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/testing-database.md

    {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!}
    ```
    
    !!! tip
        You could reduce duplication in that code by putting it in a function and using it from both `database.py` and `tests/test_sql_app.py`.
    
        For simplicity and to focus on the specific testing code, we are just copying it.
    
    ## Create the database
    
    Because now we are going to use a new database in a new file, we need to make sure we create the database with:
    
    ```Python
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/cmd/internal/pkgpath/pkgpath_test.go

    package pkgpath
    
    import (
    	"internal/testenv"
    	"os"
    	"testing"
    )
    
    const testEnvName = "GO_PKGPATH_TEST_COMPILER"
    
    // This init function supports TestToSymbolFunc. For simplicity,
    // we use the test binary itself as a sample gccgo driver.
    // We set an environment variable to specify how it should behave.
    func init() {
    	switch os.Getenv(testEnvName) {
    	case "":
    		return
    	case "v1":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 18:26:59 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. pkg/test/framework/components/cluster/topology.go

    func (c Topology) StableName() string {
    	var prefix string
    	// If its a known cluster name, use that directly.
    	// This will not be dynamic, and allows 1:1 correlation of cluster name and test name for simplicity.
    	if _, f := knownClusterNames[c.Name()]; f {
    		return c.Name()
    	}
    	if c.IsPrimary() {
    		if c.IsConfig() {
    			prefix = "primary"
    		} else {
    			prefix = "externalistiod"
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/gatewayclass.go

    // if it doesn't exist. This allows users to manage it through other means or modify it as they wish.
    // If it is deleted, however, it will be added back.
    // This controller intentionally does not do leader election for simplicity. Because we only create
    // and not update there is no need; the first controller to create the GatewayClass wins.
    type ClassController struct {
    	queue   controllers.Queue
    	classes kclient.Client[*gateway.GatewayClass]
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/ProgressStartEventSerializer.java

    import org.gradle.internal.serialize.Decoder;
    import org.gradle.internal.serialize.Encoder;
    import org.gradle.internal.serialize.Serializer;
    
    /**
     * Since Gradle creates a high volume of progress events, this serializer trades simplicity
     * for the smallest possible serialized form. It uses a single byte indicating the presence of optional
     * fields instead of writing an "absent" byte for each of them like most of our serializers do.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. pkg/kube/krt/core.go

    }
    
    // internalCollection is a superset of Collection for internal usage. All collections must implement this type, but
    // we only expose some functions to external users for simplicity.
    type internalCollection[T any] interface {
    	Collection[T]
    
    	// Name is a human facing name for this collection.
    	// Note this may not be universally unique
    	name() string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/doc.go

    // request’s actual service time is known. This is similar, although
    // not exactly isomorphic, to the original paper’s adjustment by
    // `$\delta$` for the sake of promptness.
    //
    // For implementation simplicity (see below), let us use the same
    // initial service time guess for every request; call that duration
    // G. A good choice might be the service time limit (1
    // minute). Different guesses will give slightly different dynamics,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 12:33:30 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	// We don't expect stack trace from the panic to be included in the log.
    	if isStackTraceLoggedByRuntime(capturedOutput) {
    		t.Errorf("unexpected stack trace in log, actual = %v", capturedOutput)
    	}
    	// For the sake of simplicity and clarity this matches the full log line.
    	// This is not part of the Kubernetes API and could change.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top