Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 473 for readArg (0.22 sec)

  1. src/debug/macho/file.go

    	sr *io.SectionReader
    }
    
    // Data reads and returns the contents of the segment.
    func (s *Segment) Data() ([]byte, error) {
    	return saferio.ReadDataAt(s.sr, s.Filesz, 0)
    }
    
    // Open returns a new ReadSeeker reading the segment.
    func (s *Segment) Open() io.ReadSeeker { return io.NewSectionReader(s.sr, 0, 1<<63-1) }
    
    type SectionHeader struct {
    	Name   string
    	Seg    string
    	Addr   uint64
    	Size   uint64
    	Offset uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  2. src/crypto/tls/handshake_test.go

    // ParseTestData.
    type recordingConn struct {
    	net.Conn
    	sync.Mutex
    	flows   [][]byte
    	reading bool
    }
    
    func (r *recordingConn) Read(b []byte) (n int, err error) {
    	if n, err = r.Conn.Read(b); n == 0 {
    		return
    	}
    	b = b[:n]
    
    	r.Lock()
    	defer r.Unlock()
    
    	if l := len(r.flows); l == 0 || !r.reading {
    		buf := make([]byte, len(b))
    		copy(buf, b)
    		r.flows = append(r.flows, buf)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. maven-core/src/test/resources-project-builder/foo/sub/pom.xml

            <executions>
              <execution>
                <id>archetype-common</id>
                <goals>
                  <goal>java</goal>
                  <goal>xsd</goal>
                  <goal>xpp3-reader</goal>
                  <goal>xpp3-writer</goal>
                </goals>
                <configuration>
                  <version>1.0.0</version>
                  <model>src/main/mdo/archetype-common.mdo</model>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 08:59:31 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/reset.go

    	return r.client
    }
    
    // ForceReset returns the forceReset flag.
    func (r *resetData) ForceReset() bool {
    	return r.forceReset
    }
    
    // InputReader returns the io.reader used to read messages.
    func (r *resetData) InputReader() io.Reader {
    	return r.inputReader
    }
    
    // IgnorePreflightErrors returns the list of preflight errors to ignore.
    func (r *resetData) IgnorePreflightErrors() sets.Set[string] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    ### Create Pydantic *models* / schemas for reading / returning
    
    Now create Pydantic *models* (schemas) that will be used when reading data, when returning it from the API.
    
    For example, before creating an item, we don't know what will be the ID assigned to it, but when reading it (when returning it from the API) we will already know its ID.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                }
                return targetIndex;
            }
        }
    
        // IMPORTANT: return must be closed when done with.
        public Reader reader() {
            return new Reader();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. cmd/admin-bucket-handlers.go

    		return
    	}
    	data, err := io.ReadAll(r.Body)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    	reader := bytes.NewReader(data)
    	zr, err := zip.NewReader(reader, int64(len(data)))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    	rpt := importMetaReport{
    		madmin.BucketMetaImportErrs{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. src/runtime/trace.go

    	// the reader:
    	// - The reader is lagging behind in finishing off the last generation.
    	//   In this case, trace buffers could even be empty, but the trace
    	//   advancer will be waiting on the reader, so we have to make sure
    	//   to schedule the reader ASAP.
    	// - The reader has pending work to process for it's reader generation
    	//   (assuming readerGen is not lagging behind). Note that we also want
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. src/cmd/go/script_test.go

    	if err != nil {
    		t.Fatalf("reading go.mod after -testsum: %v", err)
    	}
    	if !bytes.Equal(newGomodData, archive.Files[gomodIdx].Data) {
    		archive.Files[gomodIdx].Data = newGomodData
    		rewrite = true
    	}
    
    	newGosumData, err := os.ReadFile(s.Path("go.sum"))
    	if err != nil && !os.IsNotExist(err) {
    		t.Fatalf("reading go.sum after -testsum: %v", err)
    	}
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. src/net/http/fcgi/child.go

    	return withoutUsedEnvVars
    }
    
    func (c *child) serveRequest(req *request, body io.ReadCloser) {
    	r := newResponse(c, req)
    	httpReq, err := cgi.RequestFromMap(req.params)
    	if err != nil {
    		// there was an error reading the request
    		r.WriteHeader(http.StatusInternalServerError)
    		c.conn.writeRecord(typeStderr, req.reqId, []byte(err.Error()))
    	} else {
    		httpReq.Body = body
    		withoutUsedEnvVars := filterOutUsedEnvVars(req.params)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top