Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for endFile (0.16 sec)

  1. src/go/ast/import.go

    	begSpecs := pos[0].Start
    	endSpecs := pos[len(pos)-1].End
    	beg := fset.File(begSpecs).LineStart(lineAt(fset, begSpecs))
    	endLine := lineAt(fset, endSpecs)
    	endFile := fset.File(endSpecs)
    	var end token.Pos
    	if endLine == endFile.LineCount() {
    		end = endSpecs
    	} else {
    		end = endFile.LineStart(endLine + 1) // beginning of next line
    	}
    	first := len(f.Comments)
    	last := -1
    	for i, g := range f.Comments {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. src/internal/poll/sendfile.go

    Damien Neil <******@****.***> 1714071225 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 268 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

                blockingServer.get(m1.pom.path).sendFile(m1.pom.file),
                blockingServer.get(m2.pom.path).sendFile(m2.pom.file),
                blockingServer.get(m3.pom.path).sendFile(m3.pom.file),
                blockingServer.get(m4.pom.path).sendFile(m4.pom.file))
            blockingServer.expectConcurrent(
                blockingServer.get(m1.artifact.path).sendFile(m1.artifact.file),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestCompleteEvent.java

    public class TestCompleteEvent {
        private final long endTime;
        private final TestResult.ResultType resultType;
    
        @UsedByScanPlugin("test-distribution")
        public TestCompleteEvent(long endTime) {
            this(endTime, null);
        }
    
        @UsedByScanPlugin("test-distribution")
        public TestCompleteEvent(long endTime, TestResult.ResultType resultType) {
            this.endTime = endTime;
            this.resultType = resultType;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/trace/jsontrace.go

    			if g.StartTime != 0 {
    				opts.startTime = g.StartTime.Sub(parsed.startTime())
    			} else {
    				opts.startTime = 0
    			}
    			if g.EndTime != 0 {
    				opts.endTime = g.EndTime.Sub(parsed.startTime())
    			} else { // The goroutine didn't end.
    				opts.endTime = parsed.endTime().Sub(parsed.startTime())
    			}
    			opts.focusGoroutine = goid
    			opts.goroutines = trace.RelatedGoroutinesV2(parsed.events, goid)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/internal/poll/sendfile_bsd.go

    package poll
    
    import "syscall"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    const maxSendfileSize int = 4 << 20
    
    // SendFile wraps the sendfile system call.
    func SendFile(dstFD *FD, src int, pos, remain int64) (written int64, err error, handled bool) {
    	defer func() {
    		TestHookDidSendFile(dstFD, src, written, err, handled)
    	}()
    	if err := dstFD.writeLock(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. src/internal/poll/sendfile_linux.go

    package poll
    
    import "syscall"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    const maxSendfileSize int = 4 << 20
    
    // SendFile wraps the sendfile system call.
    func SendFile(dstFD *FD, src int, remain int64) (written int64, err error, handled bool) {
    	defer func() {
    		TestHookDidSendFile(dstFD, src, written, err, handled)
    	}()
    	if err := dstFD.writeLock(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. src/net/sendfile_linux.go

    	"internal/poll"
    	"io"
    	"os"
    )
    
    const supportsSendfile = true
    
    // sendFile copies the contents of r to c using the sendfile
    // system call to minimize copies.
    //
    // if handled == true, sendFile returns the number (potentially zero) of bytes
    // copied and any non-EOF error.
    //
    // if handled == false, sendFile performed no work.
    func sendFile(c *netFD, r io.Reader) (written int64, err error, handled bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/os/writeto_linux_test.go

    	sizes := []int{
    		1,
    		42,
    		1025,
    		syscall.Getpagesize() + 1,
    		32769,
    	}
    	t.Run("sendfile-to-unix", func(t *testing.T) {
    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    				testSendFile(t, "unix", int64(size))
    			})
    		}
    	})
    	t.Run("sendfile-to-tcp", func(t *testing.T) {
    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperBadArchiveTest.groovy

            given:
            server.expect(server.head(GRADLE_BIN_ZIP))
            server.expect(server.get(GRADLE_BIN_ZIP).sendFile(badArchive))
            server.expect(server.get(GRADLE_BIN_HASH).missing())
            server.expect(server.get(GRADLE_BIN_ZIP).sendFile(badArchive))
            server.expect(server.get(GRADLE_BIN_ZIP).sendFile(distribution.binDistribution))
            server.start()
    
            prepareWrapperWithGradleBin()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top