Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for checkAdds (0.24 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BTreeIndexedCacheTest.java

            createCache();
            checkAdds(1, 2, 3, 4, 5);
            verifyAndCloseCache();
        }
    
        @Test
        public void persistsAddedEntriesInReverseOrder() {
            createCache();
            checkAdds(5, 4, 3, 2, 1);
            verifyAndCloseCache();
        }
    
        @Test
        public void persistsAddedEntriesOverMultipleIndexBlocks() {
            createCache();
            checkAdds(3, 2, 11, 5, 7, 1, 10, 8, 9, 4, 6, 0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. src/runtime/align_test.go

    		v.checkAddr(u.X)
    		return v
    	}
    
    	// Other cases there's nothing we can check. Assume we're ok.
    	v.t.Logf("unchecked atomic operation %s %v", v.fset.Position(n.Pos()), v.print(n))
    
    	return v
    }
    
    // checkAddr checks to make sure n is a properly aligned address for a 64-bit atomic operation.
    func (v *Visitor) checkAddr(n ast.Node) {
    	switch n := n.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 14:52:12 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/pass.go

    }
    
    func linkpatch(ctxt *Link, sym *LSym, newprog ProgAlloc) {
    	for p := sym.Func().Text; p != nil; p = p.Link {
    		checkaddr(ctxt, p, &p.From)
    		for _, v := range p.RestArgs {
    			checkaddr(ctxt, p, &v.Addr)
    		}
    		checkaddr(ctxt, p, &p.To)
    
    		if ctxt.Arch.Progedit != nil {
    			ctxt.Arch.Progedit(ctxt, p, newprog)
    		}
    		if p.To.Type != TYPE_BRANCH {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. src/runtime/fds_nonunix.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.
    
    //go:build !unix
    
    package runtime
    
    func checkfds() {
    	// Nothing to do on non-Unix platforms.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 25 16:33:33 UTC 2023
    - 256 bytes
    - Viewed (0)
  5. src/runtime/fds_unix.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.
    
    //go:build unix
    
    package runtime
    
    func checkfds() {
    	if islibrary || isarchive {
    		// If the program is actually a library, presumably being consumed by
    		// another program, we don't want to mess around with the file
    		// descriptors.
    		return
    	}
    
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:20:25 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    			return fmt.Errorf("failed to find service for %s", serviceImportClusterSetHost)
    		}
    		return nil
    	}, serviceImportTimeout)
    
    	if shouldCreateMCSService {
    		// Wait for the XDS event.
    		ic.checkXDS(t)
    	}
    }
    
    func (ic *serviceImportCacheImpl) setServiceImportVIPs(t *testing.T, vips []string) {
    	t.Helper()
    
    	// Get the ServiceImport
    	si := ic.getServiceImport(t)
    
    	// Apply the ClusterSet IPs.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    	//     the ctx audiences intersect with the implicit audiences, and set the
    	//     intersection in the response.
    	//   * otherwise return unauthenticated.
    	wantAuds, checkAuds := authenticator.AudiencesFrom(ctx)
    	r := &authenticationv1.TokenReview{
    		Spec: authenticationv1.TokenReviewSpec{
    			Token:     token,
    			Audiences: wantAuds,
    		},
    	}
    	var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  8. hack/make-rules/test.sh

        ${KUBE_GOVERALLS_BIN} -coverprofile="${COMBINED_COVER_PROFILE}" \
        ${CI_NAME:+"-service=${CI_NAME}"} \
        ${COVERALLS_REPO_TOKEN:+"-repotoken=${COVERALLS_REPO_TOKEN}"} \
          || true
      fi
    }
    
    checkFDs() {
      # several unittests panic when httptest cannot open more sockets
      # due to the low default files limit on OS X.  Warn about low limit.
      local fileslimit
      fileslimit="$(ulimit -n)"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    	// function arguments only once while doing pointer checks.
    	// This is particularly useful when passing additional arguments
    	// to _cgoCheckPointer, as done in checkIndex and checkAddr.
    	//
    	// When the function argument is a conversion to unsafe.Pointer,
    	// we unwrap the conversion before checking the pointer,
    	// and then wrap again when calling C.f. This lets us check
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/x86/obj6.go

    		p2.From = p.From
    		if p.RestArgs != nil {
    			p2.RestArgs = append(p2.RestArgs, p.RestArgs...)
    		}
    		p2.Reg = p.Reg
    		p2.To = p.To
    		// p.To.Type was set to TYPE_BRANCH above, but that makes checkaddr
    		// in ../pass.go complain, so set it back to TYPE_MEM here, until p2
    		// itself gets passed to progedit.
    		p2.To.Type = obj.TYPE_MEM
    		p2.RegTo2 = 1
    
    		obj.Nopout(p)
    		return
    
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
Back to top