Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 949 for repeats (0.15 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/documentation/docs/src/docs/userguide/releases/feature_lifecycle.adoc

    If a regression is found in the release candidate, a new RC distribution is created, and the process repeats.
    Release candidates are supported for as long as the release window is open, but they are not intended to be used for production.
    Bug reports are greatly appreciated during the RC phase.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    		if err != nil {
    			// Possibly because the paths are relative; leave the
    			// filename alone.
    		} else {
    			alsoPos.Filename = rel
    		}
    
    		pass.Reportf(nearest.Pos(), "struct field %s repeats %s tag %q also at %s", field.Name(), key, val, alsoPos)
    	} else {
    		seen.Set(key, val, level, field.Pos())
    	}
    }
    
    var (
    	errTagSyntax      = errors.New("bad syntax for struct tag pair")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/os/file_posix.go

    func (f *File) checkValid(op string) error {
    	if f == nil {
    		return ErrInvalid
    	}
    	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: Mon Feb 26 21:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top