Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 398 for pread (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

    // RUN: tf-opt -tf-tpu-resource-read-for-write %s | FileCheck %s --dump-input=always
    
    // CHECK-LABEL: func @write_only_resource
    // CHECK-SAME: ([[ARG0:%.*]]: tensor<i32>, [[ARG1:%.*]]: tensor<f32>, [[ARG2:%.*]]: tensor<*x!tf_type.resource<tensor<i32>>>)
    func.func @write_only_resource(%arg0: tensor<i32>, %arg1: tensor<f32>, %arg2: tensor<*x!tf_type.resource<tensor<i32>>>) {
      // CHECK-NEXT: [[READ:%.*]] = "tf.ReadVariableOp"([[ARG2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/test.go

    // multiple main packages.
    func recompileForTest(pmain, preal, ptest, pxtest *Package) *PackageError {
    	// The "test copy" of preal is ptest.
    	// For each package that depends on preal, make a "test copy"
    	// that depends on ptest. And so on, up the dependency tree.
    	testCopy := map[*Package]*Package{preal: ptest}
    	for _, p := range PackageList([]*Package{pmain}) {
    		if p == preal {
    			continue
    		}
    		// Copy on write.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromStringArray(), "execute(command)", "", ""],
                [fromStringList(), "execute(command)", "", ""],
                [fromObjectList(), "execute(command)", "", ""],
                // Spread calls
                [fromString(), "execute(*[command])", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "execute(command as String)", "", ""],
            ]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/MethodHandleInvocation.java

    import java.lang.invoke.MethodHandle;
    
    import static org.gradle.internal.classpath.intercept.InvocationUtils.unwrap;
    
    /**
     * The implementation of {@link Invocation} that forwards the call to a MethodHandle. Supports both normal and spread Groovy calls.
     */
    class MethodHandleInvocation implements Invocation {
        private final MethodHandle original;
        private final Object[] originalArgs;
        private final Object[] unspreadArgs;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 05:57:27 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. src/time/sys_unix.go

    	fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
    	if err != nil {
    		return 0, err
    	}
    	return uintptr(fd), nil
    }
    
    func read(fd uintptr, buf []byte) (int, error) {
    	return syscall.Read(int(fd), buf)
    }
    
    func closefd(fd uintptr) {
    	syscall.Close(int(fd))
    }
    
    func preadn(fd uintptr, buf []byte, off int) error {
    	whence := seekStart
    	if off < 0 {
    		whence = seekEnd
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:10 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec2InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                // Null argument handling
                [fromString(), "Runtime.getRuntime().exec(command, null)", "", ""],
                // Spread calls
                [fromString(), "Runtime.getRuntime().exec(*[command, new String[] {'FOOBAR=foobar'}])", "", "foobar"],
                // Typed nulls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/time/sys_plan9.go

    	fd, err := syscall.Open(name, syscall.O_RDONLY)
    	if err != nil {
    		return 0, err
    	}
    	return uintptr(fd), nil
    }
    
    func read(fd uintptr, buf []byte) (int, error) {
    	return syscall.Read(int(fd), buf)
    }
    
    func closefd(fd uintptr) {
    	syscall.Close(int(fd))
    }
    
    func preadn(fd uintptr, buf []byte, off int) error {
    	whence := seekStart
    	if off < 0 {
    		whence = seekEnd
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1016 bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1QualifiedStaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromStringList(), "ProcessGroovyMethods.execute(command)", "", ""],
                [fromObjectList(), "ProcessGroovyMethods.execute(command)", "", ""],
                // Spread calls
                [fromString(), "ProcessGroovyMethods.execute(*[command])", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "ProcessGroovyMethods.execute(command as String)", "", ""],
            ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec1InstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

                [fromGroovyString(), "Runtime.getRuntime().exec(command)", "", ""],
                [fromStringArray(), "Runtime.getRuntime().exec(command)", "", ""],
                // Spread calls
                [fromString(), "Runtime.getRuntime().exec(*[command])", "", ""],
                // type-wrapped arguments
                [fromGroovyString(), "Runtime.getRuntime().exec(command as String)", "", ""],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/html/template/html.go

    		if c.delim == delimNone {
    			st := c.state
    			// Use RCDATA instead of parsing into JS or CSS styles.
    			if c.element != elementNone && !isInTag(st) {
    				st = stateRCDATA
    			}
    			d, nread := transitionFunc[st](c, s[i:])
    			i1 := i + nread
    			if c.state == stateText || c.state == stateRCDATA {
    				// Emit text up to the start of the tag or comment.
    				j := i1
    				if d.state != c.state {
    					for j1 := j - 1; j1 >= i; j1-- {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 19:42:28 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top