Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,162 for lets (0.04 sec)

  1. src/syscall/syscall_darwin.go

    	n := uintptr(CTL_MAXNAME) * siz
    
    	p := (*byte)(unsafe.Pointer(&buf[0]))
    	bytes, err := ByteSliceFromString(name)
    	if err != nil {
    		return nil, err
    	}
    
    	// Magic sysctl: "setting" 0.3 to a string name
    	// lets you read back the array of integers form.
    	if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:50 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/dependencies/implementation_linux.go

    			// Warning: Do not call UnlockOSThread! Notably, netns.Do does call this.
    			runtime.LockOSThread()
    			if err := setupSandbox(); err != nil {
    				return err
    			}
    			// Mark we have actually run the command. This lets us distinguish from a failure in setupSandbox() vs f()
    			executed = true
    			return f()
    		}()
    	}()
    	err := <-chErr
    	if err != nil && !executed {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 20:49:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device.cc

    // A ParallelDevice on its own is not registered with a TFE_Context, and so has
    // no device name (e.g. for `tf.device`). `NamedParallelDevice` associates a
    // name with it, which lets us pack its `ParallelTensor`s into TFE_TensorHandles
    // placed on the parallel device.
    class NamedParallelDevice {
     public:
      NamedParallelDevice(const std::string& name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 29 22:05:31 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            1 * attributeMatcher.isMatching(otherVariant.getAttributes(), fromOther) >> true
    
            // intermediate matches fromIntermediate and intermediate2 matches fromIntermediate2
            // this lets us build the chain from one transform to the next
            1 * attributeMatcher.isMatching(intermediate, fromIntermediate) >> true
            1 * attributeMatcher.isMatching(intermediate2, fromIntermediate2) >> true
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/readme-templates/multi-common-body.adoc.template

    While there is no more fine grained configuration in this example, library or application project specific build configuration can go into one of these convention plugin scripts.
    
    Lets have a look at the `build.gradle(.kts)` files in the subprojects.
    
    ====
    include::sample[dir="kotlin",files="app/build.gradle.kts[]"]
    include::sample[dir="groovy",files="app/build.gradle[]"]
    ====
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 08 11:21:22 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go

    	n := uintptr(CTL_MAXNAME) * siz
    
    	p := (*byte)(unsafe.Pointer(&buf[0]))
    	bytes, err := ByteSliceFromString(name)
    	if err != nil {
    		return nil, err
    	}
    
    	// Magic sysctl: "setting" 0.3 to a string name
    	// lets you read back the array of integers form.
    	if err = sysctl([]_C_int{0, 3}, p, &n, &bytes[0], uintptr(len(name))); err != nil {
    		return nil, err
    	}
    	return buf[0 : n/siz], nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. src/fmt/example_test.go

    // license that can be found in the LICENSE file.
    
    package fmt_test
    
    import (
    	"fmt"
    	"io"
    	"math"
    	"os"
    	"strings"
    	"time"
    )
    
    // The Errorf function lets us use formatting features
    // to create descriptive error messages.
    func ExampleErrorf() {
    	const name, id = "bueller", 17
    	err := fmt.Errorf("user %q (id %d) not found", name, id)
    	fmt.Println(err.Error())
    
    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. src/cmd/go/internal/work/buildid.go

    // cached result is the installed package or binary at target.
    // If useCache decides that the cache can be used, it sets a.buildID
    // and a.built for use by parent actions and then returns true.
    // Otherwise it sets a.buildID to a temporary build ID for use in the build
    // and returns false. When useCache returns false the expectation is that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/stackalloc.go

    			slots[v.ID] = i
    		}
    	}
    }
    
    // computeLive computes a map from block ID to a list of
    // stack-slot-needing value IDs live at the end of that block.
    // TODO: this could be quadratic if lots of variables are live across lots of
    // basic blocks. Figure out a way to make this function (or, more precisely, the user
    // of this function) require only linear size & time.
    func (s *stackAllocState) computeLive(spillLive [][]ID) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. src/math/rand/v2/regress_test.go

    //
    //	var whatever = T{
    //		...
    //	}
    //
    // Replace searches file for an exact match for the text of the first line,
    // finds the closing brace, and then substitutes new for what used to be in the file.
    // This lets us update the regressGolden table during go test -update.
    func replace(t *testing.T, file string, new []byte) {
    	first, _, _ := bytes.Cut(new, []byte("\n"))
    	first = append(append([]byte("\n"), first...), '\n')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:03:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top