Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 299 for writeLoc (0.14 sec)

  1. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResource.java

         *
         * @throws ResourceException on failure to copy the content.
         * @throws org.gradle.api.resources.MissingResourceException when the resource does not exist
         */
        ExternalResourceReadResult<Void> writeTo(File destination) throws ResourceException;
    
        /**
         * Copies the contents of this resource to the given file, if the resource exists.
         *
         * @return null if this resource does not exist.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go

    	sign := pass.TypesInfo.Defs[id].Type().(*types.Signature)
    	args := sign.Params()
    	results := sign.Results()
    
    	// Special case: WriteTo with more than one argument,
    	// not trying at all to implement io.WriterTo,
    	// comes up often enough to skip.
    	if id.Name == "WriteTo" && args.Len() > 1 {
    		return
    	}
    
    	// Special case: Is, As and Unwrap only apply when type
    	// implements error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/internal/poll/writev.go

    //go:build unix
    
    package poll
    
    import (
    	"io"
    	"runtime"
    	"syscall"
    )
    
    // Writev wraps the writev system call.
    func (fd *FD) Writev(v *[][]byte) (int64, error) {
    	if err := fd.writeLock(); err != nil {
    		return 0, err
    	}
    	defer fd.writeUnlock()
    	if err := fd.pd.prepareWrite(fd.isFile); err != nil {
    		return 0, err
    	}
    
    	var iovecs []syscall.Iovec
    	if fd.iovecs != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/gprof.go

    	go C.CallGoSleep()
    	go C.CallGoSleep()
    	go C.CallGoSleep()
    	time.Sleep(1 * time.Second)
    
    	prof := pprof.Lookup("goroutine")
    	prof.WriteTo(io.Discard, 1)
    	fmt.Println("OK")
    }
    
    //export GoSleep
    func GoSleep() {
    	time.Sleep(time.Hour)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 11 15:34:02 UTC 2021
    - 868 bytes
    - Viewed (0)
  5. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/AbstractDevelocityInputIgnoringServiceIntegrationTest.groovy

        }
    
        def "can execute external process with process API at configuration time"() {
            given:
            ShellScript script = ShellScript.builder().printText("Hello, world").writeTo(testDirectory, "script")
    
            buildFile << """
                ${runIgnoringInputs("""
                    def process = ${ShellScript.cmdToStringLiteral(script.getRelativeCommandLine(testDirectory))}.execute()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 16:27:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/os/writeto_linux_test.go

    				testSendFile(t, "tcp", int64(size))
    			})
    		}
    	})
    }
    
    func testSendFile(t *testing.T, proto string, size int64) {
    	dst, src, recv, data, hook := newSendFileTest(t, proto, size)
    
    	// Now call WriteTo (through io.Copy), which will hopefully call poll.SendFile
    	n, err := io.Copy(dst, src)
    	if err != nil {
    		t.Fatalf("io.Copy error: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                requestBody.writeTo(bufferedRequestBody)
              } else {
                // Write the request body if the "Expect: 100-continue" expectation was met.
                val bufferedRequestBody = exchange.createRequestBody(request, false).buffer()
                requestBody.writeTo(bufferedRequestBody)
                bufferedRequestBody.close()
              }
            } else {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. src/net/net_fake.go

    	return ffd.writeMsg(p, oob, sa)
    }
    
    func (ffd *fakeNetFD) writeTo(p []byte, sa syscall.Sockaddr) (n int, err error) {
    	raddr := ffd.fd.raddr
    	if sa != nil {
    		if ffd.fd.isConnected {
    			return 0, os.NewSyscallError("writeTo", syscall.EISCONN)
    		}
    		raddr = ffd.fd.addrFunc()(sa)
    	}
    	if raddr == nil {
    		return 0, os.NewSyscallError("writeTo", syscall.EINVAL)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. src/mdo/writer.vm

            #end
          #elseif ( $field.type == "int" )
                writeTag("$fieldTagName", "${def}", Integer.toString(${classLcapName}.get${fieldCapName}()), serializer);
          #elseif ( $field.type == "DOM" )
                writeDom(${classLcapName}.get${fieldCapName}(), serializer);
          #elseif ( $field.type == "java.util.List" && $field.to == "String" && $field.multiplicity == "*" )
            #set( $singularField = ${Helper.singular($fieldTagName)} )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  10. pkg/hbone/util.go

    	// if buf is nil, one is allocated.
    	// Duplicated from io
    
    	// This will prevent stats from working.
    	// If the reader has a WriteTo method, use it to do the copy.
    	// Avoids an allocation and a copy.
    	//if wt, ok := src.(io.WriterTo); ok {
    	//	return wt.WriteTo(dst)
    	//}
    	// Similarly, if the writer has a ReadFrom method, use it to do the copy.
    	//if rt, ok := dst.(io.ReaderFrom); ok {
    	//	return rt.ReadFrom(src)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top