Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/experimental/saved_model/public/README.md

    ## Small ConcreteFunction Example
    
    The following example loads a saved model from `"/path/to/model"` and
    executes a function `f` taking no arguments and returning one single
    value (error checking is omitted for simplicity):
    
    ```c
    TF_Status* status = TF_NewStatus();
    TFE_ContextOptions* ctx_options = TFE_NewContextOptions();
    TFE_Context* ctx = TFE_NewContext(ctx_options, status);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 16 23:02:56 UTC 2020
    - 904 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/math/big/sqrt_test.go

    			//   got = √x + k
    			// for some k such that |k| < 2**(-p). Thus,
    			//   got² = (√x + k)² = x + 2k√n + k²
    			// and the error must satisfy
    			//   err = |got² - x| ≈ | 2k√n | < 2**(-p+1)*√n
    			// Ignoring the k² term for simplicity.
    
    			// err = |got² - x|
    			// (but do intermediate steps with 32 guard digits to
    			// avoid introducing spurious rounding-related errors)
    			sq := new(Float).SetPrec(prec+32).Mul(got, got)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 12:54:00 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  7. src/fmt/example_test.go

    	io.WriteString(os.Stdout, s) // Ignoring error for simplicity.
    
    	// Output:
    	// Kim is 22 years old.
    }
    
    func ExampleSprintln() {
    	const name, age = "Kim", 22
    	s := fmt.Sprintln(name, "is", age, "years old.")
    
    	io.WriteString(os.Stdout, s) // Ignoring error for simplicity.
    
    	// Output:
    	// Kim is 22 years old.
    }
    
    func ExampleSprintf() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 21:03:10 UTC 2019
    - 11.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top