Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 312 for newRat (0.12 sec)

  1. src/cmd/compile/internal/walk/switch.go

    		func(i int) ir.Node {
    			return ir.NewBinaryExpr(base.Pos, ir.OLE, s.hashName, ir.NewInt(base.Pos, int64(cc[i-1].hash)))
    		},
    		func(i int, nif *ir.IfStmt) {
    			// TODO(mdempsky): Omit hash equality check if
    			// there's only one type.
    			c := cc[i]
    			nif.Cond = ir.NewBinaryExpr(base.Pos, ir.OEQ, s.hashName, ir.NewInt(base.Pos, int64(c.hash)))
    			nif.Body.Append(c.body.Take()...)
    		},
    	)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. 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)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java

    class NewestConflictResolverTest extends AbstractConflictResolverTest {
        // constructors -----------------------------------------------------------
    
        public NewestConflictResolverTest() throws Exception {
            super("newest");
        }
    
        // tests ------------------------------------------------------------------
    
        /**
         * Tests that <code>a:2.0</code> wins in the scenario:
         * <pre>
         * a:1.0
         * b:1.0 -&gt; a:2.0
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. pkg/volume/util/storageclass.go

    			defaultClasses = append(defaultClasses, class)
    			klog.V(4).Infof("GetDefaultClass added: %s", class.Name)
    		}
    	}
    
    	if len(defaultClasses) == 0 {
    		return nil, nil
    	}
    
    	// Primary sort by creation timestamp, newest first
    	// Secondary sort by class name, ascending order
    	sort.Slice(defaultClasses, func(i, j int) bool {
    		if defaultClasses[i].CreationTimestamp.UnixNano() == defaultClasses[j].CreationTimestamp.UnixNano() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 09:27:59 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. pkg/registry/batch/cronjob/strategy.go

    func (cronJobStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"batch/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"batch/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    // PrepareForCreate clears the status of a scheduled job before creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 15:14:03 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go

    // The returned value is the element removed, if indeed one was removed,
    // otherwise `nil`.
    type removeFromFIFOFunc func() *request
    
    // walkFunc is called for each request in the list in the
    // oldest -> newest order.
    // ok: if walkFunc returns false then the iteration stops immediately.
    // walkFunc may remove the given request from the fifo,
    // but may not mutate the fifo in any othe way.
    type walkFunc func(*request) (ok bool)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:05:53 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/assign.go

    		ptr2, len2 := backingArrayPtrLen(l2)
    
    		fn := typecheck.LookupRuntime("slicecopy", ptr1.Type().Elem(), ptr2.Type().Elem())
    		ncopy = mkcall1(fn, types.Types[types.TINT], &nodes, ptr1, len1, ptr2, len2, ir.NewInt(base.Pos, elemtype.Size()))
    	} else {
    		// memmove(&s[idx], &l2[0], len(l2)*sizeof(T))
    		ix := ir.NewIndexExpr(base.Pos, s, idx)
    		ix.SetBounded(true)
    		addr := typecheck.NodAddr(ix)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top