Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for meaningful (0.5 sec)

  1. src/cmd/go/internal/script/cmds_nonunix.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !unix
    
    package script
    
    func isETXTBSY(err error) bool {
    	// syscall.ETXTBSY is only meaningful on Unix platforms.
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 00:12:01 UTC 2024
    - 301 bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
            events.tests.size() == (supportsEfficientClassFiltering() ? 10 : 14)
        }
    
        def "fails with meaningful error when requested tests not found"() {
            given:
            collectDescriptorsFromBuild()
            and:
            testClassRemoved()
            when:
            launchTests { TestLauncher launcher ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/internal/abi/rangefuncconsts.go

    package abi
    
    type RF_State int
    
    // These constants are shared between the compiler, which uses them for state functions
    // and panic indicators, and the runtime, which turns them into more meaningful strings
    // For best code generation, RF_DONE and RF_READY should be 0 and 1.
    const (
    	RF_DONE          = RF_State(iota) // body of loop has exited in a non-panic way
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:04:30 UTC 2024
    - 940 bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerThreadRegistry.java

         * A worker lease is also granted to the thread. The thread can release this if it needs to, but should reacquire
         * the lease prior to doing any meaningful work.
         *
         * This method is reentrant so that a thread can call this method from the given action.
         *
         * This method blocks until a worker lease is available.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java

    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
     * Simple {@link ThreadFactory} implementation that ensures the corresponding threads have a meaningful name.
     */
    public class BuildThreadFactory implements ThreadFactory {
        private final AtomicInteger id = new AtomicInteger();
    
        private static final String PREFIX = "BuilderThread";
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ThreadFactoryImpl.java

     */
    
    package org.gradle.internal.concurrent;
    
    import javax.annotation.Nullable;
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Provides meaningful names to threads created in a thread pool.
     */
    public class ThreadFactoryImpl implements ThreadFactory {
        private final AtomicLong counter = new AtomicLong();
        private final String displayName;
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/InvalidInstallationWarningReporterTest.groovy

            then:
            isReported * mockLogger.warn(_ as String, location.displayName)
    
            where:
            isValid << [false, true]
            isReported << [1, 0]
        }
    
        def 'reporter logs meaningful message'() {
            given:
            def reporter = new InvalidInstallationWarningReporter(mockLogger)
            def location = InstallationLocation.userDefined(new File("testHome"), "test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 18:25:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTestLauncherCrossVersionSpec.groovy

                id("java")
            }
            ${mavenCentralRepository()}
            dependencies {
                testImplementation("junit:junit:4.13.1")
            }
            """
        }
    
        def "fails with meaningful error when no tests declared from included build"() {
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':included-build:test', [])
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. platforms/ide/problems-api/src/main/java/org/gradle/problems/ProblemDiagnostics.java

         */
        @Nullable
        Throwable getException();
    
        /**
         * Returns the stack trace that can be reported to the user about where the problem occurred.
         *
         * <p>Not every problem has a meaningful stack, even when the problem has an associated exception. Returns an empty list in this case.</p>
         */
        List<StackTraceElement> getStack();
    
        /**
         * Returns the location of the problem, if known.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:13:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

                    @org.junit.Test public void bar() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
                    }
                }
            """
        }
    
        def "fails with meaningful error when no tests declared"() {
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test',[])
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top