Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 186 for resptr (0.17 sec)

  1. src/cmd/compile/internal/types/size.go

    func PtrDataSize(t *Type) int64 {
    	CalcSize(t)
    	x := t.ptrBytes
    	if t.Kind() == TPTR && t.Elem().NotInHeap() {
    		// Note: this is done here instead of when we're setting
    		// the ptrBytes field, because at that time (in NewPtr, usually)
    		// the NotInHeap bit of the element type might not be set yet.
    		x = 0
    	}
    	return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  2. src/cmd/internal/testdir/testdir_test.go

    	errors := make(map[int]map[string]bool)
    	tmpRe := regexp.MustCompile(`autotmp_\d+`)
    	for _, errStr := range splitOutput(out, false) {
    		errFile, rest, ok := strings.Cut(errStr, ":")
    		if !ok || errFile != file {
    			continue
    		}
    		lineStr, msg, ok := strings.Cut(rest, ":")
    		if !ok {
    			continue
    		}
    		line, err := strconv.Atoi(lineStr)
    		line--
    		if err != nil || line < 0 || line >= len(lines) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  3. src/compress/flate/inflate.go

    }
    
    // Resetter resets a ReadCloser returned by [NewReader] or [NewReaderDict]
    // to switch to a new underlying [Reader]. This permits reusing a ReadCloser
    // instead of allocating a new one.
    type Resetter interface {
    	// Reset discards any buffered data and resets the Resetter as if it was
    	// newly initialized with the given reader.
    	Reset(r io.Reader, dict []byte) error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
      public void testEviction_invalidateAll() {
        // test that .invalidateAll() resets total weight state correctly
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
            CacheBuilder.newBuilder().concurrencyLevel(1).maximumSize(10).build(loader);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  5. src/compress/flate/deflatefast.go

    	b = src[:len(a)]
    	for i := range a {
    		if a[i] != b[i] {
    			return int32(i) + n
    		}
    	}
    	return int32(len(a)) + n
    }
    
    // Reset resets the encoding history.
    // This ensures that no matches are made to the previous block.
    func (e *deflateFast) reset() {
    	e.prev = e.prev[:0]
    	// Bump the offset, so all matches will fail distance check.
    	// Nothing should be >= e.cur in the table.
    	e.cur += maxMatchOffset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 19 18:48:17 UTC 2020
    - 9.4K bytes
    - Viewed (0)
  6. pkg/controlplane/reconcilers/lease.go

    			ipList = append(ipList, ip.Subsets[0].Addresses[0].IP)
    		}
    	}
    
    	klog.V(6).Infof("Current master IPs listed in storage are %v", ipList)
    
    	return ipList, nil
    }
    
    // UpdateLease resets the TTL on a master IP in storage
    // UpdateLease will create a new key if it doesn't exist.
    func (s *storageLeases) UpdateLease(ip string) error {
    	key := path.Join(s.baseKey, ip)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. src/runtime/tracestack.go

    	}
    	id, _ := t.tab.put(noescape(unsafe.Pointer(&pcs[0])), uintptr(len(pcs))*unsafe.Sizeof(uintptr(0)))
    	return id
    }
    
    // dump writes all previously cached stacks to trace buffers,
    // releases all memory and resets state. It must only be called once the caller
    // can guarantee that there are no more writers to the table.
    func (t *traceStackTable) dump(gen uintptr) {
    	stackBuf := make([]uintptr, traceStackSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:56 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    	if m.latenciesSummary != nil {
    		legacyregistry.MustRegister(m.latenciesSummary)
    	}
    }
    
    // Reset resets all the prometheus metrics in the metricSet.
    func (m *metricSet) reset() {
    	m.latencies.Reset()
    	if m.latenciesSummary != nil {
    		m.latenciesSummary.Reset()
    	}
    }
    
    // Observe records an observed admission event to all metrics in the metricSet.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/transform/transform.go

    	b := make([][defaultBufSize]byte, len(t)-1)
    	for i := range b {
    		c.link[i+1].b = b[i][:]
    	}
    	return c
    }
    
    // Reset resets the state of Chain. It calls Reset on all the Transformers.
    func (c *chain) Reset() {
    	for i, l := range c.link {
    		if l.t != nil {
    			l.t.Reset()
    		}
    		c.link[i].p, c.link[i].n = 0, 0
    	}
    }
    
    // TODO: make chain use Span (is going to be fun to implement!)
    
    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/runtime/slice.go

    //	newLen = new length (= oldLen + num)
    //	oldCap = original slice's capacity.
    //	   num = number of elements being added
    //	    et = element type
    //
    // return values:
    //
    //	newPtr = pointer to the new backing store
    //	newLen = same value as the argument
    //	newCap = capacity of the new backing store
    //
    // Requires that uint(newLen) > uint(oldCap).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top