Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 278 for readelf (0.15 sec)

  1. pkg/config/analysis/local/istiod_analyze.go

    	ResourceName string
    }
    
    // ReaderSource is a tuple of a io.Reader and filepath.
    type ReaderSource struct {
    	// Name is the name of the source (commonly the path to a file, but can be "-" for sources read from stdin or "" if completely synthetic).
    	Name string
    	// Reader is the reader instance to use.
    	Reader io.Reader
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go

    			// Consider a semaphore used as a read-write lock, with N tokens, N
    			// readers, and one writer.  Each reader can Acquire(1) to obtain a read
    			// lock.  The writer can Acquire(N) to obtain a write lock, excluding all
    			// of the readers.  If we allow the readers to jump ahead in the queue,
    			// the writer will starve — there is always one token available for every
    			// reader.
    			break
    		}
    
    		s.cur += w.n
    		s.waiters.Remove(next)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. manifests/charts/istio-control/istio-discovery/templates/reader-clusterrole.yaml

    {{ $mcsAPIGroup := or .Values.pilot.env.MCS_API_GROUP "multicluster.x-k8s.io" }}
    apiVersion: rbac.authorization.k8s.io/v1
    kind: ClusterRole
    metadata:
      name: istio-reader-clusterrole{{- if not (eq .Values.revision "")}}-{{ .Values.revision }}{{- end }}-{{ .Release.Namespace }}
      labels:
        app: istio-reader
        release: {{ .Release.Name }}
    rules:
      - apiGroups:
          - "config.istio.io"
          - "security.istio.io"
          - "networking.istio.io"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/math/rand/v2/chacha8.go

    func (c *ChaCha8) Read(p []byte) (n int, err error) {
    	if c.readLen > 0 {
    		n = copy(p, c.readBuf[len(c.readBuf)-c.readLen:])
    		c.readLen -= n
    		p = p[n:]
    	}
    	for len(p) >= 8 {
    		byteorder.LePutUint64(p, c.Uint64())
    		p = p[8:]
    		n += 8
    	}
    	if len(p) > 0 {
    		byteorder.LePutUint64(c.readBuf[:], c.Uint64())
    		n += copy(p, c.readBuf[:])
    		c.readLen = 8 - len(p)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    		p.readerToBuf[next] = i
    		p.readerToBuf[i] = next
    		next++
    	}
    }
    
    // Returns if buf can be erasure decoded.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/rwmutex.go

    func (rw *rwmutex) unlock() {
    	// Announce to readers that there is no active writer.
    	r := rw.readerCount.Add(rwmutexMaxReaders)
    	if r >= rwmutexMaxReaders {
    		throw("unlock of unlocked rwmutex")
    	}
    	// Unblock blocked readers.
    	lock(&rw.rLock)
    	for rw.readers.ptr() != nil {
    		reader := rw.readers.ptr()
    		rw.readers = reader.schedlink
    		reader.schedlink.set(nil)
    		notewakeup(&reader.park)
    		r -= 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:29:04 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. src/sync/rwmutex.go

    	w           Mutex        // held if there are pending writers
    	writerSem   uint32       // semaphore for writers to wait for completing readers
    	readerSem   uint32       // semaphore for readers to wait for completing writers
    	readerCount atomic.Int32 // number of pending readers
    	readerWait  atomic.Int32 // number of departing readers
    }
    
    const rwmutexMaxReaders = 1 << 30
    
    // Happens-before relationships are indicated to the race detector via:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/compress/gzip/gzip_test.go

    		t.Errorf("Header mismatch:\ngot  %#v\nwant %#v", r.Header, want)
    	}
    	b, err := io.ReadAll(r)
    	if err != nil {
    		t.Fatalf("ReadAll: %v", err)
    	}
    	if len(b) != 0 {
    		t.Fatalf("got %d bytes, want 0", len(b))
    	}
    	if err := r.Close(); err != nil {
    		t.Fatalf("Reader.Close: %v", err)
    	}
    }
    
    // TestRoundTrip tests that gzipping and then gunzipping is the identity
    // function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:10:06 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/io/ioutil/ioutil.go

    	"os"
    	"slices"
    	"strings"
    )
    
    // ReadAll reads from r until an error or EOF and returns the data it read.
    // A successful call returns err == nil, not err == EOF. Because ReadAll is
    // defined to read from src until EOF, it does not treat an EOF from Read
    // as an error to be reported.
    //
    // Deprecated: As of Go 1.16, this function simply calls [io.ReadAll].
    func ReadAll(r io.Reader) ([]byte, error) {
    	return io.ReadAll(r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/os/removeall_at.go

    			break
    		}
    
    		for {
    			numErr := 0
    
    			names, readErr := file.Readdirnames(reqSize)
    			// Errors other than EOF should stop us from continuing.
    			if readErr != nil && readErr != io.EOF {
    				file.Close()
    				if IsNotExist(readErr) {
    					return nil
    				}
    				return &PathError{Op: "readdirnames", Path: base, Err: readErr}
    			}
    
    			respSize = len(names)
    			for _, name := range names {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top