- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 153 for Roll (0.15 sec)
-
src/os/writeto_linux_test.go
return client, tempFile, server, data, hook } func hookSendFile(t *testing.T) *sendFileHook { h := new(sendFileHook) orig := poll.TestHookDidSendFile t.Cleanup(func() { poll.TestHookDidSendFile = orig }) poll.TestHookDidSendFile = func(dstFD *poll.FD, src int, written int64, err error, handled bool) { h.called = true h.dstfd = dstFD.Sysfd h.srcfd = src h.written = written h.err = err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4K bytes - Viewed (0) -
src/os/zero_copy_linux.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package os import ( "internal/poll" "io" "syscall" ) var ( pollCopyFileRange = poll.CopyFileRange pollSplice = poll.Splice ) // wrapSyscallError takes an error and a syscall name. If the error is // a syscall.Errno, it wraps it in an os.SyscallError using the syscall name.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/FileLockCommunicatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:49 UTC 2024 - 3.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy
def gradleHandle = executer.withTasks("askYesNo").start() then: poll(INTERACTIVE_WAIT_TIME_SECONDS) { assert gradleHandle.standardOutput.contains(YES_NO_PROMPT) } gradleHandle.stdinPipe.write(input.bytes) gradleHandle.stdinPipe.write(TextUtil.platformLineSeparator.bytes) poll { assert gradleHandle.standardOutput.contains("Please enter 'yes' or 'no': ")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 13.4K bytes - Viewed (0) -
src/net/sendfile_test.go
t.Helper() if !supportsSendfile { f() return } orig := poll.TestHookDidSendFile defer func() { poll.TestHookDidSendFile = orig }() var ( called bool gotHandled bool gotFD *poll.FD ) poll.TestHookDidSendFile = func(dstFD *poll.FD, src int, written int64, err error, handled bool) { if called { t.Error("internal/poll.SendFile called multiple times, want one call") } called = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
then: poll(120) { assert signal != null assertConfirmationCount(build1) assertConfirmationCount(build2) assertConfirmationCount(build3) } when: signal.trigger() then: poll(120) { assertReleaseSignalTriggered(build1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/locklistener/DefaultFileLockContentionHandlerTest.groovy
import org.gradle.internal.remote.internal.inet.InetAddressFactory import org.gradle.util.ConcurrentSpecification import java.util.concurrent.atomic.AtomicBoolean import static org.gradle.test.fixtures.ConcurrentTestUtil.poll class DefaultFileLockContentionHandlerTest extends ConcurrentSpecification { def addressFactory = new InetAddressFactory() def addressProvider = new InetAddressProvider() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:49 UTC 2024 - 6.1K bytes - Viewed (0) -
src/runtime/netpoll.go
// // func netpollclose(fd uintptr) int32 // Disable notifications for fd. Return an errno value. // // func netpoll(delta int64) (gList, int32) // Poll the network. If delta < 0, block indefinitely. If delta == 0, // poll without blocking. If delta > 0, block for up to delta nanoseconds. // Return a list of goroutines built by calling netpollready,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 20.7K bytes - Viewed (0) -
src/net/sendfile_linux.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import ( "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
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.2K bytes - Viewed (0) -
src/net/sendfile_windows.go
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package net import ( "internal/poll" "io" "os" "syscall" ) const supportsSendfile = true // sendFile copies the contents of r to c using the TransmitFile // system call to minimize copies. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 1.1K bytes - Viewed (0)