Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for readCode (0.18 sec)

  1. src/cmd/internal/test2json/testdata/vet.test

        --- PASS: TestVet/1 (0.07s)
            vet_test.go:114: files: ["testdata/atomic.go" "testdata/lostcancel.go" "testdata/unsafeptr.go"]
        --- PASS: TestVet/7 (0.19s)
            vet_test.go:114: files: ["testdata/deadcode.go" "testdata/shift.go"]
    --- PASS: TestVetDirs (0.01s)
        --- PASS: TestVetDirs/testingpkg (0.06s)
        --- PASS: TestVetDirs/divergent (0.05s)
        --- PASS: TestVetDirs/buildtag (0.06s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 01 16:13:47 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/copyelim.go

    // license that can be found in the LICENSE file.
    
    package ssa
    
    // combine copyelim and phielim into a single pass.
    // copyelim removes all uses of OpCopy values from f.
    // A subsequent deadcode pass is needed to actually remove the copies.
    func copyelim(f *Func) {
    	phielim(f)
    
    	// loop of copyelimValue(v) process has been done in phielim() pass.
    	// Update block control values.
    	for _, b := range f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            if (response.code == 100) {
              readBody = true
            }
          }
    
          val body = Buffer()
          val requestLine = "$method $path HTTP/1.1"
          var exception: IOException? = null
          if (readBody && peek.streamHandler == null && peek.socketPolicy !is DoNotReadRequestBody) {
            try {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  4. src/cmd/internal/test2json/testdata/smiley.test

        --- PASS: Test☺☹/1 (0.07s)
            vet_test.go:114: φιλεσ: ["testdata/atomic.go" "testdata/lostcancel.go" "testdata/unsafeptr.go"]
        --- PASS: Test☺☹/7 (0.19s)
            vet_test.go:114: φιλεσ: ["testdata/deadcode.go" "testdata/shift.go"]
    --- PASS: Test☺☹Dirs (0.01s)
        --- PASS: Test☺☹Dirs/testingpkg (0.06s)
        --- PASS: Test☺☹Dirs/divergent (0.05s)
        --- PASS: Test☺☹Dirs/buildtag (0.06s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 01 16:13:47 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    	readBody, err := limitedReadBody(req, limit)
    	if err == nil {
    		// only record if we've read successfully
    		requestmetrics.RecordRequestBodySize(ctx, resourceGroup, verb, len(readBody))
    	}
    	return readBody, err
    }
    
    func isDryRun(url *url.URL) bool {
    	return len(url.Query()["dryRun"]) != 0
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. src/compress/flate/deflate_test.go

    }
    
    func (b *syncBuffer) Write(p []byte) (n int, err error) {
    	n, err = b.buf.Write(p)
    	b.signal()
    	return
    }
    
    func (b *syncBuffer) WriteMode() {
    	b.mu.Lock()
    }
    
    func (b *syncBuffer) ReadMode() {
    	b.mu.Unlock()
    	b.signal()
    }
    
    func (b *syncBuffer) Close() error {
    	b.closed = true
    	b.signal()
    	return nil
    }
    
    func testSync(t *testing.T, level int, input []byte, name string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  7. src/go/doc/reader.go

    			p = q
    		}
    	}
    	// remove trailing blank, if any
    	if n := len(b); n > 0 && p == ' ' {
    		b = b[0 : n-1]
    	}
    	return string(b)
    }
    
    // readNote collects a single note from a sequence of comments.
    func (r *reader) readNote(list []*ast.Comment) {
    	text := (&ast.CommentGroup{List: list}).Text()
    	if m := noteMarkerRx.FindStringSubmatchIndex(text); m != nil {
    		// The note body starts after the marker.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/main.go

    		addlibpath(ctxt, "command line", "command line", flag.Arg(0), "main", "", zerofp)
    	}
    	bench.Start("loadlib")
    	ctxt.loadlib()
    
    	bench.Start("inittasks")
    	ctxt.inittasks()
    
    	bench.Start("deadcode")
    	deadcode(ctxt)
    
    	bench.Start("linksetup")
    	ctxt.linksetup()
    
    	bench.Start("dostrdata")
    	ctxt.dostrdata()
    	if buildcfg.Experiment.FieldTrack {
    		bench.Start("fieldtrack")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    				err = io.ErrUnexpectedEOF
    			}
    			return fmt.Errorf("readXLMetaNoData(readMore): %w", err)
    		}
    		return nil
    	}
    	tmp, major, minor, err := checkXL2V1(buf)
    	if err != nil {
    		err = readMore(size)
    		return buf, err
    	}
    	switch major {
    	case 1:
    		switch minor {
    		case 0:
    			err = readMore(size)
    			return buf, err
    		case 1, 2, 3:
    			sz, tmp, err := msgp.ReadBytesHeader(tmp)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	if contextCanceled(ctx) {
    		return nil, time.Time{}, ctx.Err()
    	}
    
    	if err := checkPathLength(itemPath); err != nil {
    		return nil, time.Time{}, err
    	}
    
    	f, err := OpenFile(itemPath, readMode, 0o666)
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	defer f.Close()
    	stat, err := f.Stat()
    	if err != nil {
    		return nil, time.Time{}, err
    	}
    	if stat.IsDir() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
Back to top