Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,403 for repeats (0.28 sec)

  1. 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)
  2. src/hash/maphash/smhasher_test.go

    			b[i] = 0
    		}
    	}
    }
    
    // Test strings with repeats, like "abcdabcdabcdabcd..."
    func TestSmhasherCyclic(t *testing.T) {
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	t.Parallel()
    	r := rand.New(rand.NewSource(1234))
    	const REPEAT = 8
    	const N = 1000000
    	h := newHashSet()
    	for n := 4; n <= 12; n++ {
    		b := make([]byte, REPEAT*n)
    		for i := 0; i < N; i++ {
    			b[0] = byte(i * 79 % 97)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/slices/slices.go

    		newslice = append(newslice, s...)
    	}
    	return newslice
    }
    
    // Repeat returns a new slice that repeats the provided slice the given number of times.
    // The result has length and capacity (len(x) * count).
    // The result is never nil.
    // Repeat panics if count is negative or if the result of (len(x) * count)
    // overflows.
    func Repeat[S ~[]E, E any](x S, count int) S {
    	if count < 0 {
    		panic("cannot be negative")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. src/internal/reflectlite/value.go

    	//	- flagIndir: val holds a pointer to the data
    	//	- flagAddr: v.CanAddr is true (implies flagIndir)
    	// Value cannot represent method values.
    	// The next five bits give the Kind of the value.
    	// This repeats typ.Kind() except for method values.
    	// The remaining 23+ bits give a method number for method values.
    	// If flag.kind() != Func, code can assume that flagMethod is unset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java

        }
    
        /**
         * Expects the given requests to be made. Blocks until the given number of concurrent requests have been received, then releases one of the requests and blocks again.
         * Repeats until all of the requests have been received.
         */
        public void expectConcurrent(int concurrent, String... expectedRequests) {
            List<ResourceExpectation> expectations = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    -   If all looks good, the reviewer will approve the PR.
    -   If a change is needed, the contributor is requested to make the suggested
        change.
    -   You make the change and submit it for the review again.
    -   This cycle repeats itself until the PR gets approved.
    -   Note: As a friendly reminder, we may reach out to you if the PR is awaiting
        your response for more than 2 weeks.
    
    **4. Approved**
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:45:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. src/database/sql/convert.go

    		// D: 1. Column Converter 2. Default
    		//
    		// The only time a Column Converter is called is first
    		// or after NamedValueConverter. If first it is handled before
    		// the nextCheck label. Thus for repeats tries only when the
    		// NamedValueConverter is selected should the Column Converter
    		// be used in the retry.
    		checker := defaultCheckNamedValue
    		nextCC := false
    		switch {
    		case nvc != nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/runtime/hash_test.go

    				}
    			}
    			b[i] = 0
    		}
    	}
    }
    
    // Test strings with repeats, like "abcdabcdabcdabcd..."
    func TestSmhasherCyclic(t *testing.T) {
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	if race.Enabled {
    		t.Skip("Too long for race mode")
    	}
    	t.Parallel()
    	r := rand.New(rand.NewSource(1234))
    	const REPEAT = 8
    	const N = 1000000
    	h := newHashSet()
    	for n := 4; n <= 12; n++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. src/runtime/mfinal.go

    }
    
    var finalizer1 = [...]byte{
    	// Each Finalizer is 5 words, ptr ptr INT ptr ptr (INT = uintptr here)
    	// Each byte describes 8 words.
    	// Need 8 Finalizers described by 5 bytes before pattern repeats:
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	//	ptr ptr INT ptr ptr
    	// aka
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    	// exactly one of which is non-nil, initially obj.
    	// All suffixes start with '.' (the only object->type operation),
    	// followed by optional type->type operations,
    	// then a type->object operation.
    	// The cycle then repeats.
    	var t types.Type
    	for suffix != "" {
    		code := suffix[0]
    		suffix = suffix[1:]
    
    		// Codes [AFM] have an integer operand.
    		var index int
    		switch code {
    		case opAt, opField, opMethod, opTypeParam:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top