Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 296 for defeats (0.15 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/doc.go

    //
    // Functions that abruptly terminate a test, such as the Fatal, Fatalf, FailNow, and
    // Skip{,f,Now} methods of *testing.T, must be called from the test goroutine itself.
    // This checker detects calls to these functions that occur within a goroutine
    // started by the test. For example:
    //
    //	func TestFoo(t *testing.T) {
    //	    go func() {
    //	        t.Fatal("oops") // error: (*T).Fatal called from non-test goroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 853 bytes
    - Viewed (0)
  2. test/fixedbugs/issue33275_run.go

    // license that can be found in the LICENSE file.
    
    // Make sure we don't get an index out of bounds error
    // while trying to print a map that is concurrently modified.
    // The runtime might complain (throw) if it detects the modification,
    // so we have to run the test as a subprocess.
    
    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 717 bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java

    import java.io.InputStream;
    
    public interface ZipEntry {
        /**
         * The compression method used for an entry
         */
        enum ZipCompressionMethod {
            /**
             * The entry is compressed with DEFLATE algorithm.
             */
            DEFLATED,
    
            /**
             * The entry is stored uncompressed.
             */
            STORED,
            /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/stringer.go

    			if index < 0 {
    				continue
    			}
    			// It's on. Start with the header.
    			fmt.Fprintf(out, header, *input, *output, *pkg, *pkg)
    			on = true
    			line = line[:index]
    		}
    		// Strip comments so their text won't defeat our heuristic.
    		index := strings.Index(line, "//")
    		if index > 0 {
    			line = line[:index]
    		}
    		index = strings.Index(line, "/*")
    		if index > 0 {
    			line = line[:index]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BlockPointerTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.cache.internal.btree
    
    import spock.lang.Specification
    
    class BlockPointerTest extends Specification {
    
        def "detects corrupt pointers"() {
            when:
            BlockPointer.pos(-10)
            then:
            def e = thrown(CorruptedCacheException)
            e.message.contains("-10")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 926 bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/ZipEntryCompression.java

    /**
     * Specifies the compression level of an archives contents.
     */
    public enum ZipEntryCompression {
        /** Contents are not compressed */
        STORED,
    
        /** Contents are compressed using the 'deflate' algorithm */
        DEFLATED
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 890 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/cgo_badmethod_issue57926.txt

    module example.com
    go 1.12
    
    -- a.go --
    package a
    
    /*
    typedef int T;
    */
    import "C"
    
    func (C.T) f() {}
    func (recv *C.T) g() {}
    
    // The check is more education than enforcement,
    // and is easily defeated using a type alias.
    type Alias = C.T
    func (Alias) h() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 02 12:55:28 UTC 2023
    - 562 bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        cat <<EOF
    Please rename files so there are no repeats. For example, README.md and
    Readme.md would be the same file on Windows. In this test, you would get a
    warning for "readme.md" because it makes everything lowercase. There are
    repeats of these filename(s) with different casing:
    EOF
        find . | tr '[A-Z]' '[a-z]' | sort | uniq -d | tee $BATS_FILE_TMPDIR/repeats
        [[ ! -s $BATS_FILE_TMPDIR/repeats ]]
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

        }
    
        /**
         * Returns the compression level of the entries of the archive. If set to {@link ZipEntryCompression#DEFLATED} (the default), each entry is
         * compressed using the DEFLATE algorithm. If set to {@link ZipEntryCompression#STORED} the entries of the archive are left uncompressed.
         *
         * @return the compression level of the archive contents.
         */
        @Input
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/TaskFromPluginValidationIntegrationTest.groovy

    class TaskFromPluginValidationIntegrationTest extends AbstractIntegrationSpec implements ValidationMessageChecker {
    
        def setup() {
            expectReindentedValidationMessage()
        }
    
        def "detects that a problem is from a task declared in a precompiled script plugin"() {
            withPrecompiledScriptPlugins()
            def pluginFile = file("buildSrc/src/main/groovy/test.gradle.demo.plugin.gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top