Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for pollable (0.17 sec)

  1. src/internal/poll/fd_poll_runtime.go

    	return pd.wait('w', isFile)
    }
    
    func (pd *pollDesc) waitCanceled(mode int) {
    	if pd.runtimeCtx == 0 {
    		return
    	}
    	runtime_pollWaitCanceled(pd.runtimeCtx, mode)
    }
    
    func (pd *pollDesc) pollable() bool {
    	return pd.runtimeCtx != 0
    }
    
    // Error values returned by runtime_pollReset and runtime_pollWait.
    // These must match the values in runtime/netpoll.go.
    const (
    	pollNoError        = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:59 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/poll/fd_wasip1.go

    	if err := fd.incref(); err != nil {
    		return 0, err
    	}
    	defer fd.decref()
    	for {
    		n, err := syscall.ReadDir(fd.Sysfd, buf, cookie)
    		if err != nil {
    			n = 0
    			if err == syscall.EAGAIN && fd.pd.pollable() {
    				if err = fd.pd.waitRead(fd.isFile); err == nil {
    					continue
    				}
    			}
    		}
    		// Do not call eofError; caller does not expect to see io.EOF.
    		return n, err
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/CurrentBuildOperationRef.java

            return INSTANCE;
        }
    
        @Nullable
        public BuildOperationRef get() {
            return ref.get();
        }
    
        @Nullable
        public OperationIdentifier getId() {
            BuildOperationRef operationState = get();
            return operationState == null ? null : operationState.getId();
        }
    
        @Nullable
        public OperationIdentifier getParentId() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

        }
    
        /**
         * Calls the given callable converting any thrown exception to an unchecked exception via {@link UncheckedException#throwAsUncheckedException(Throwable)}
         *
         * @param callable The callable to call
         * @param <T> Callable's return type
         * @return The value returned by {@link Callable#call()}
         */
        @Nullable
        public static <T> T uncheckedCall(Callable<T> callable) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/firUtils.kt

            is KtFunctionLiteral -> (parent as? KtLambdaExpression)?.unwrap()
            else -> this
        } ?: this
    }
    
    internal fun KaTypeNullability.toConeNullability() = when (this) {
        KaTypeNullability.NULLABLE -> ConeNullability.NULLABLE
        KaTypeNullability.NON_NULLABLE -> ConeNullability.NOT_NULL
        KaTypeNullability.UNKNOWN -> ConeNullability.UNKNOWN
    }
    
    /**
     * @receiver A symbol that needs to be imported
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. testing/architecture-test/src/changes/archunit-store/internal-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.internal.file.copy.DelegatingCopySpecInternal.dirMode don't use symmetrical @Nullable
    Accessors for org.gradle.api.internal.file.copy.DelegatingCopySpecInternal.fileMode don't use symmetrical @Nullable
    Accessors for org.gradle.api.internal.tasks.DefaultSourceSetOutput.resourcesDir don't use symmetrical @Nullable
    Accessors for org.gradle.api.internal.tasks.TaskStateInternal.outcome don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.StartParameter.gradleUserHomeDir don't use symmetrical @Nullable
    Accessors for org.gradle.StartParameter.taskNames don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.AbstractCopyTask.dirMode don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.AbstractCopyTask.fileMode don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. .idea/misc.xml

              <item index="4" class="java.lang.String" itemvalue="edu.umd.cs.findbugs.annotations.Nullable" />
              <item index="5" class="java.lang.String" itemvalue="io.reactivex.annotations.Nullable" />
              <item index="6" class="java.lang.String" itemvalue="io.reactivex.rxjava3.annotations.Nullable" />
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 19:23:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/CallableCodecTest.kt

    import org.junit.Test
    import java.util.concurrent.Callable
    
    
    class CallableCodecTest : AbstractFunctionalTypeTest() {
    
        @Test
        fun `defers evaluation of Callable objects`() {
            assertDeferredEvaluationOf(callable()) {
                call()
            }
        }
    
        @Test
        fun `defers evaluation of dynamic Callable fields`() {
            assertDeferredEvaluationOf(BeanOf(callable())) {
                value.call()
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultProblem.java

        protected DefaultProblem(
            ProblemDefinition problemDefinition,
            @Nullable String contextualLabel,
            List<String> solutions,
            List<ProblemLocation> problemLocations,
            @Nullable String details,
            RuntimeException exception,
            @Nullable AdditionalData additionalData
        ) {
            this.problemDefinition = problemDefinition;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top