Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 144 for newInt (0.15 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/DefaultVersionedComponentChooserTest.groovy

            when:
            1 * one.missing >> false
            0 * componentSelectionRules.apply(_, _)
    
            then:
            chooser.selectNewestComponent(one, two) == one
        }
    
        def "chooses newest matching version without requiring metadata"() {
            given:
            def a = component('1.2')
            def b = component('1.3')
            def c = component('2.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/SubscriberRegistry.java

          if (eventSubscribers == null) {
            CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>();
            eventSubscribers =
                MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet);
          }
    
          eventSubscribers.addAll(eventMethodsInListener);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  3. src/text/template/parse/node.go

    }
    
    // DotNode holds the special identifier '.'.
    type DotNode struct {
    	NodeType
    	Pos
    	tr *Tree
    }
    
    func (t *Tree) newDot(pos Pos) *DotNode {
    	return &DotNode{tr: t, NodeType: NodeDot, Pos: pos}
    }
    
    func (d *DotNode) Type() NodeType {
    	// Override method on embedded NodeType for API compatibility.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    func (cu containersByEvictUnit) NumEvictUnits() int {
    	return len(cu)
    }
    
    // Newest first.
    type byCreated []containerGCInfo
    
    func (a byCreated) Len() int           { return len(a) }
    func (a byCreated) Swap(i, j int)      { a[i], a[j] = a[j], a[i] }
    func (a byCreated) Less(i, j int) bool { return a[i].createTime.After(a[j].createTime) }
    
    // Newest first.
    type sandboxByCreated []sandboxGCInfo
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. src/runtime/runtime.go

    	name string
    	inc  atomic.Pointer[func()]
    }
    
    func (g *godebugInc) IncNonDefault() {
    	inc := g.inc.Load()
    	if inc == nil {
    		newInc := godebugNewIncNonDefault.Load()
    		if newInc == nil {
    			return
    		}
    		inc = new(func())
    		*inc = (*newInc)(g.name)
    		if raceenabled {
    			racereleasemerge(unsafe.Pointer(&g.inc))
    		}
    		if !g.inc.CompareAndSwap(nil, inc) {
    			inc = g.inc.Load()
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. src/runtime/map_fast32.go

    	if h.growing() {
    		evacuate_fast32(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast32(t *maptype, h *hmap, oldbucket uintptr) {
    	b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    	newbit := h.noldbuckets()
    	if !evacuated(b) {
    		// TODO: reuse overflow buckets instead of using new ones, if there
    		// is no iterator using the old buckets.  (If !oldIterator.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. src/runtime/map_fast64.go

    	if h.growing() {
    		evacuate_fast64(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_fast64(t *maptype, h *hmap, oldbucket uintptr) {
    	b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    	newbit := h.noldbuckets()
    	if !evacuated(b) {
    		// TODO: reuse overflow buckets instead of using new ones, if there
    		// is no iterator using the old buckets.  (If !oldIterator.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. src/runtime/map_faststr.go

    	if h.growing() {
    		evacuate_faststr(t, h, h.nevacuate)
    	}
    }
    
    func evacuate_faststr(t *maptype, h *hmap, oldbucket uintptr) {
    	b := (*bmap)(add(h.oldbuckets, oldbucket*uintptr(t.BucketSize)))
    	newbit := h.noldbuckets()
    	if !evacuated(b) {
    		// TODO: reuse overflow buckets instead of using new ones, if there
    		// is no iterator using the old buckets.  (If !oldIterator.)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/transform/transform.go

    	// that they become one contiguous slice: dst[:pDst].
    	if pPrefix != 0 {
    		newDst := dst
    		if pDst > len(newDst) {
    			newDst = make([]byte, len(s)+nDst-nSrc)
    		}
    		copy(newDst[pPrefix:pDst], dst[:nDst])
    		copy(newDst[:pPrefix], s[:pPrefix])
    		dst = newDst
    	}
    
    	// Prevent duplicate Transform calls with atEOF being true at the end of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 21 22:10:00 UTC 2020
    - 21.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/transform/transform.go

    	// that they become one contiguous slice: dst[:pDst].
    	if pPrefix != 0 {
    		newDst := dst
    		if pDst > len(newDst) {
    			newDst = make([]byte, len(s)+nDst-nSrc)
    		}
    		copy(newDst[pPrefix:pDst], dst[:nDst])
    		copy(newDst[:pPrefix], s[:pPrefix])
    		dst = newDst
    	}
    
    	// Prevent duplicate Transform calls with atEOF being true at the end of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top