Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 445 for inter (0.34 sec)

  1. src/cmd/go/internal/lockedfile/lockedfile_test.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // js and wasip1 do not support inter-process file locking.
    //
    //go:build !js && !wasip1
    
    package lockedfile_test
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	"cmd/go/internal/lockedfile"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

        : intra_op_(std::make_unique<IntraOpThreadPool>(num_threads)) {
      // Create a HostContext for running TFRT functions. Concurrent work queue acts
      // similar to the Tensorflow `inter-op` thread pool, so we'll match the size.
      host_context_ = num_threads ? CreateMultiThreadedHostContext(num_threads)
                                  : CreateSingleThreadedHostContext();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. prow/integ-suite-kind.sh

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    
    # Usage: ./integ-suite-kind.sh TARGET
    # Example: ./integ-suite-kind.sh test.integration.pilot.kube.presubmit
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    ROOT=$(dirname "$WD")
    
    # Exit immediately for non zero status
    set -e
    # Check unset variables
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 05:42:41 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/reflect/iter.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package reflect
    
    import "iter"
    
    func rangeNum[T int8 | int16 | int32 | int64 | int |
    	uint8 | uint16 | uint32 | uint64 | uint |
    	uintptr, N int64 | uint64](v N) iter.Seq[Value] {
    	return func(yield func(v Value) bool) {
    		// cannot use range T(v) because no core type.
    		for i := T(0); i < T(v); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/maps/iter.go

    // license that can be found in the LICENSE file.
    
    package maps
    
    import "iter"
    
    // All returns an iterator over key-value pairs from m.
    // The iteration order is not specified and is not guaranteed
    // to be the same from one call to the next.
    func All[Map ~map[K]V, K comparable, V any](m Map) iter.Seq2[K, V] {
    	return func(yield func(K, V) bool) {
    		for k, v := range m {
    			if !yield(k, v) {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. src/iter/iter.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package iter provides basic definitions and operations
    // related to iteration in Go.
    package iter
    
    import (
    	"internal/race"
    	"runtime"
    	"unsafe"
    )
    
    // Seq is an iterator over sequences of individual values.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. src/slices/iter.go

    // license that can be found in the LICENSE file.
    
    package slices
    
    import (
    	"cmp"
    	"iter"
    )
    
    // All returns an iterator over index-value pairs in the slice.
    // The indexes range in the usual order, from 0 through len(s)-1.
    func All[Slice ~[]E, E any](s Slice) iter.Seq2[int, E] {
    	return func(yield func(int, E) bool) {
    		for i, v := range s {
    			if !yield(i, v) {
    				return
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:40:32 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/3-iter.md

    ### Iterators
    
    The new [iter] package provides the basic definitions for working with
    user-defined iterators.
    
    The [slices] package adds several functions that work with iterators:
    - [All](/pkg/slices#All) returns an iterator over slice indexes and values.
    - [Values](/pkg/slices#Values) returns an iterator over slice elements.
    - [Backward](/pkg/slices#Backward) returns an iterator that loops over
      a slice backward.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. src/internal/trace/testdata/testprog/iter-pull.go

    	var wg sync.WaitGroup
    	var iterChans [2]chan intIter
    	wg.Add(2)
    	iterChans[0] = make(chan intIter)
    	iterChans[1] = make(chan intIter)
    	go func() {
    		defer wg.Done()
    
    		iter := pullRange(100)
    		iterChans[1] <- iter
    
    		for i := range iterChans[0] {
    			_, ok := i.next()
    			if !ok {
    				close(iterChans[1])
    				break
    			}
    			iterChans[1] <- i
    		}
    	}()
    	go func() {
    		defer wg.Done()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyIncrementalCompilationIntegrationTest.groovy

        def "recompiles class when constant from inner class is changed"() {
            given:
            file("src/main/${languageName}/MyAnnotation.${languageName}") << """
                public @interface MyAnnotation { int value(); }
            """
            file("src/main/${languageName}/TopLevel.${languageName}") << """
                public class TopLevel {
                   static class Inner {
                      public static final int CONST = 9999;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
Back to top