Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for makeSeq (0.39 sec)

  1. src/internal/trace/order.go

    		} else if s.status != status {
    			return curCtx, false, fmt.Errorf("inconsistent status for proc %d: old %v vs. new %v", pid, s.status, status)
    		}
    		s.seq = makeSeq(gen, 0) // Reset seq.
    	} else {
    		o.pStates[pid] = &pState{id: pid, status: status, seq: makeSeq(gen, 0)}
    		if gen == o.initialGen {
    			oldState = ProcUndetermined
    		} else {
    			oldState = ProcNotExist
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/healthServer_test.go

    	defer server.Close()
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusServiceUnavailable)
    
    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    	assert.Equal(t, watchReady.Load(), true)
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. test/makenew.go

    Robert Griesemer <******@****.***> 1607048150 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 04 21:22:23 UTC 2020
    - 605 bytes
    - Viewed (0)
  4. src/archive/tar/writer_test.go

    	)
    
    	type (
    		makeReg struct {
    			size    int64
    			wantStr string
    		}
    		makeSparse struct {
    			makeReg makeReg
    			sph     sparseHoles
    			size    int64
    		}
    		fileMaker any // makeReg | makeSparse
    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{0, ""},
    		tests: []testFnc{
    			testRemaining{0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  5. pkg/registry/authentication/tokenreview/storage.go

    	}
    
    	// create a header that contains nothing but the token
    	fakeReq := &http.Request{Header: http.Header{}}
    	fakeReq.Header.Add("Authorization", "Bearer "+tokenReview.Spec.Token)
    
    	auds := tokenReview.Spec.Audiences
    	if len(auds) == 0 {
    		auds = r.apiAudiences
    	}
    	if len(auds) > 0 {
    		fakeReq = fakeReq.WithContext(authenticator.WithAudiences(fakeReq.Context(), auds))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    	)
    
    	type (
    		makeReg struct {
    			str  string
    			size int64
    		}
    		makeSparse struct {
    			makeReg makeReg
    			spd     sparseDatas
    			size    int64
    		}
    		fileMaker any // makeReg | makeSparse
    	)
    
    	vectors := []struct {
    		maker fileMaker
    		tests []testFnc
    	}{{
    		maker: makeReg{"", 0},
    		tests: []testFnc{
    			testRemaining{0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 21 21:14:38 UTC 2022
    - 47.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/xds_cache_test.go

    	}
    }
    
    func TestXdsCache(t *testing.T) {
    	makeEp := func(subset string, dr *model.ConsolidatedDestRule) *endpoints.EndpointBuilder {
    		svc := &model.Service{Hostname: "foo.com"}
    		b := endpoints.NewCDSEndpointBuilder(
    			proxy, nil,
    			fmt.Sprintf("outbound|%s|foo.com", subset),
    			model.TrafficDirectionOutbound, subset, "foo.com", 80,
    			svc, dr)
    		return b
    	}
    	ep1 := makeEp("1", nil)
    	ep2 := makeEp("2", nil)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 20:43:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_loong64.go

    //sys	statx(dirfd int, path string, flags int, mask int, stat *statx_t) (err error)
    
    // makedev makes C dev_t from major and minor numbers the glibc way:
    // 0xMMMM_MMMM 0xmmmm_mmmm -> 0xMMMM_Mmmm_mmmM_MMmm
    func makedev(major uint32, minor uint32) uint64 {
    	majorH := uint64(major >> 12)
    	majorL := uint64(major & 0xfff)
    	minorH := uint64(minor >> 8)
    	minorL := uint64(minor & 0xff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  9. src/internal/concurrent/hashtriemap_test.go

    		gmp := runtime.GOMAXPROCS(-1)
    		var wg sync.WaitGroup
    		for i := range gmp {
    			wg.Add(1)
    			go func(id int) {
    				defer wg.Done()
    
    				makeKey := func(s string) string {
    					return s + "-" + strconv.Itoa(id)
    				}
    				for _, s := range testData {
    					key := makeKey(s)
    					expectMissing(t, key, 0)(m.Load(key))
    					expectStored(t, key, id)(m.LoadOrStore(key, id))
    					expectPresent(t, key, id)(m.Load(key))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/PACTest.java

            }
    
            byte[] mac = PacMac.calculateMacArcfourHMACMD5(usage, makeKey(keybytes, 23), bytes);
            checkBytes(javaChecksum, mac);
            checkBytes(Hex.decode(expect), mac);
        }
    
    
        /**
         * @param keybytes
         * @return
         */
        private static KerberosKey makeKey ( byte[] keybytes, int etype ) {
            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top