Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,237 for repeats (0.38 sec)

  1. doc/next/6-stdlib/99-minor/slices/65238.md

    The [Repeat] function returns a new slice that repeats the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 101 bytes
    - Viewed (0)
  2. src/internal/poll/fd_posix.go

    func (fd *FD) RawControl(f func(uintptr)) error {
    	if err := fd.incref(); err != nil {
    		return err
    	}
    	defer fd.decref()
    	f(uintptr(fd.Sysfd))
    	return nil
    }
    
    // ignoringEINTR makes a function call and repeats it if it returns
    // an EINTR error. This appears to be required even though we install all
    // signal handlers with SA_RESTART: see #22838, #38033, #38836, #40846.
    // Also #20400 and #36644 are issues in which a signal handler is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:17 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/debug_lines_test.go

    		}
    	}
    	if ignoreRepeats { // remove repeats from gotStmts
    		newGotStmts := []int{gotStmts[0]}
    		for _, x := range gotStmts {
    			if x != newGotStmts[len(newGotStmts)-1] {
    				newGotStmts = append(newGotStmts, x)
    			}
    		}
    		if !reflect.DeepEqual(wantStmts, newGotStmts) {
    			t.Errorf("wanted stmts %v but got %v (with repeats still in: %v)", wantStmts, newGotStmts, gotStmts)
    		}
    
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:24:52 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. pkg/apis/autoscaling/v2/defaults.go

    import (
    	autoscalingv2 "k8s.io/api/autoscaling/v2"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/apis/autoscaling"
    	"k8s.io/utils/pointer"
    )
    
    var (
    	// These constants repeats previous HPA behavior
    	scaleUpLimitPercent         int32 = 100
    	scaleUpLimitMinimumPods     int32 = 4
    	scaleUpPeriod               int32 = 15
    	scaleUpStabilizationSeconds int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  5. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

    import okhttp3.Request;
    import okhttp3.Response;
    import org.jsoup.Jsoup;
    import org.jsoup.nodes.Document;
    import org.jsoup.nodes.Element;
    
    /**
     * Fetches HTML from a requested URL, follows the links, and repeats.
     */
    public final class Crawler {
      private final OkHttpClient client;
      private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<>());
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Aug 12 07:26:27 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/testing/DaemonsEventSequence.groovy

     * <p>
     * This works by watching a daemon registry in a background thread, recording each state change.
     * As the state changes, it is tested against the next checkpoint. If the state of the checkpoint matches,
     * then the process repeats with the next checkpoint (until all checkpoints are passed).
     *
     * If there is no state change detected in a specified interval, an assertion error will be thrown.
     *
     * @see org.gradle.launcher.daemon.DaemonLifecycleSpec
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/v2beta2/defaults.go

    	autoscalingv2beta2 "k8s.io/api/autoscaling/v2beta2"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/kubernetes/pkg/apis/autoscaling"
    	"k8s.io/utils/pointer"
    )
    
    var (
    	// These constants repeats previous HPA behavior
    	scaleUpLimitPercent         int32 = 100
    	scaleUpLimitMinimumPods     int32 = 4
    	scaleUpPeriod               int32 = 15
    	scaleUpStabilizationSeconds int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. src/strings/search.go

    		if HasPrefix(pattern, pattern[i+1:]) {
    			lastPrefix = i + 1
    		}
    		// lastPrefix is the shift, and (last-i) is len(suffix).
    		f.goodSuffixSkip[i] = lastPrefix + last - i
    	}
    	// Second pass: find repeats of pattern's suffix starting from the front.
    	for i := 0; i < last; i++ {
    		lenSuffix := longestCommonSuffix(pattern, pattern[1:i+1])
    		if pattern[i-lenSuffix] != pattern[last-lenSuffix] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 18:49:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. cmd/dummy-data-generator_test.go

    // DummyDataGen returns a reader that repeats the bytes in `alphabets`
    // upto the desired length.
    type DummyDataGen struct {
    	b           []byte
    	idx, length int64
    }
    
    // NewDummyDataGen returns a ReadSeeker over the first `totalLength`
    // bytes from the infinite stream consisting of repeated
    // concatenations of `alphabets`.
    //
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  10. cmd/benchmark-utils_test.go

    	rand.Seed(UTCNow().UnixNano())
    	// pick a character randomly.
    	return []byte{letterBytes[rand.Intn(len(letterBytes))]}
    }
    
    // picks a random byte and repeats it to size bytes.
    func generateBytesData(size int) []byte {
    	// repeat the random character chosen size
    	return bytes.Repeat(getRandomByte(), size)
    }
    
    // Parallel benchmark utility functions for ObjectLayer.PutObject().
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top