Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for refill (0.1 sec)

  1. src/os/dir_unix.go

    	// single slice".
    	//
    	// But below, we use only negative to mean looping until the
    	// end and positive to mean bounded, with positive
    	// terminating at 0.
    	if n == 0 {
    		n = -1
    	}
    
    	for n != 0 {
    		// Refill the buffer if necessary
    		if d.bufp >= d.nbuf {
    			d.bufp = 0
    			var errno error
    			d.nbuf, errno = f.pfd.ReadDirent(*d.buf)
    			runtime.KeepAlive(f)
    			if errno != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/os/dir_windows.go

    		d.close()
    	}
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.buf == nil {
    		d.buf = dirBufPool.Get().(*[]byte)
    	}
    
    	wantAll := n <= 0
    	if wantAll {
    		n = -1
    	}
    	for n != 0 {
    		// Refill the buffer if necessary
    		if d.bufp == 0 {
    			err = windows.GetFileInformationByHandleEx(file.pfd.Sysfd, d.class, (*byte)(unsafe.Pointer(&(*d.buf)[0])), uint32(len(*d.buf)))
    			runtime.KeepAlive(file)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/grid/muxserver.go

    		go func(inbound chan []byte) {
    			wg.Wait()
    			defer xioutil.SafeClose(handlerIn)
    			m.handleInbound(c, inbound, handlerIn)
    		}(m.inbound)
    	}
    	// Fill outbound block.
    	// Each token represents a message that can be sent to the client without blocking.
    	// The client will refill the tokens as they confirm delivery of the messages.
    	for i := 0; i < outboundCap; i++ {
    		m.outBlock <- struct{}{}
    	}
    
    	// Handler goroutine.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/pe.go

    package objfile
    
    import (
    	"debug/dwarf"
    	"debug/pe"
    	"fmt"
    	"io"
    	"sort"
    )
    
    type peFile struct {
    	pe *pe.File
    }
    
    func openPE(r io.ReaderAt) (rawFile, error) {
    	f, err := pe.NewFile(r)
    	if err != nil {
    		return nil, err
    	}
    	return &peFile{f}, nil
    }
    
    func (f *peFile) symbols() ([]Sym, error) {
    	// Build sorted list of addresses of all symbols.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:56:30 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/img/commandLineTutorialTasks.graphml

      <graph edgedefault="directed" id="G">
        <node id="n0">
          <data key="d6">
            <y:ShapeNode>
              <y:Geometry height="30.0" width="140.0" x="180.0" y="12.5"/>
              <y:Fill color="#C3D9E6" transparent="false"/>
              <y:BorderStyle color="#000000" type="line" width="1.0"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. samples/ratelimit/local-rate-limit-service.yaml

                    tokens_per_fill: 100
                    fill_interval: 60s
                  enable_x_ratelimit_headers: DRAFT_VERSION_03 # This adds the ability to see headers for how many tokens are left in the bucket, how often the bucket refills, and what is the token bucket max.
                  filter_enabled:
                    runtime_key: test_enabled
                    default_value:
                      numerator: 100
                      denominator: HUNDRED
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 08:22:09 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/build_trimpath_cgo.txt

    -- list-dwarf/read_windows.go --
    package main
    
    import (
    	"debug/dwarf"
    	"debug/pe"
    )
    
    func readDWARF(exePath string) (*dwarf.Data, error) {
    	peFile, err := pe.Open(exePath)
    	if err != nil {
    		return nil, err
    	}
    	defer peFile.Close()
    	return peFile.DWARF()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/img/warPluginTasks.graphml

      <graph edgedefault="directed" id="G">
        <node id="n0">
          <data key="d6">
            <y:ShapeNode>
              <y:Geometry height="30.0" width="140.0" x="180.0" y="0.0"/>
              <y:Fill color="#C3D9E6" transparent="false"/>
              <y:BorderStyle color="#000000" type="line" width="1.0"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/html/header.html

        <div class="submenu">
          {{range .SampleTypes}}
          <a href="?si={{.}}" id="sampletype-{{.}}">{{.}}</a>
          {{end}}
        </div>
      </div>
      {{end}}
    
      <div id="refine" class="menu-item">
        <div class="menu-name">
          Refine
          <i class="downArrow"></i>
        </div>
        <div class="submenu">
          <a title="{{.Help.focus}}" href="?" id="focus">Focus</a>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/initialization/definition/InjectedPluginDependencies.java

        /**
         * Add a dependency on the plugin with the given id.
         *
         * @param id the id of the plugin to depend on
         *
         * @return a mutable injected plugin dependency that can be used to further refine the dependency
         */
        InjectedPluginDependency id(String id);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 01 21:30:02 UTC 2019
    - 1.1K bytes
    - Viewed (0)
Back to top