Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,189 for checkMin (0.23 sec)

  1. src/cmd/link/link_test.go

    		raw := cmd.Raw()
    		type_ := exem.ByteOrder.Uint32(raw)
    		if type_ != LC_BUILD_VERSION {
    			continue
    		}
    		osVer := exem.ByteOrder.Uint32(raw[12:])
    		checkMin(osVer)
    		sdkVer := exem.ByteOrder.Uint32(raw[16:])
    		checkMin(sdkVer)
    		found = true
    		break
    	}
    	if !found {
    		t.Errorf("no LC_BUILD_VERSION load command found")
    	}
    }
    
    const Issue34788src = `
    
    package blah
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/zip/zip.go

    // encounters an error reading the zip file.
    //
    // Note that CheckZip does not read individual files, so [Unzip] may still fail
    // when CheckZip is successful due to I/O errors.
    func CheckZip(m module.Version, zipFile string) (CheckedFiles, error) {
    	f, err := os.Open(zipFile)
    	if err != nil {
    		return CheckedFiles{}, err
    	}
    	defer f.Close()
    	_, cf, err := checkZip(m, f)
    	return cf, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 31K bytes
    - Viewed (0)
  3. istioctl/pkg/precheck/precheck.go

    					"  To get started, check out https://istio.io/latest/docs/setup/getting-started/\n")
    			} else {
    				fmt.Fprintln(cmd.OutOrStdout(), output)
    			}
    			for _, m := range msgs {
    				if m.Type.Level().IsWorseThanOrEqualTo(diag.Warning) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. tests/util/leak/check.go

    	t.Cleanup(func() {
    		if err := check(filter); err != nil {
    			t.Errorf("goroutine leak: %v", err)
    		}
    	})
    }
    
    // CheckMain asserts that no goroutines are leaked after a test package exits.
    // This can be used with the following code:
    //
    //	func TestMain(m *testing.M) {
    //	    leak.CheckMain(m)
    //	}
    //
    // Failures here are scoped to the package, not a specific test. To determine the source of the failure,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 10:22:38 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

            file("src/ignore-2.txt").createFile()
    
            run("generate")
    
            then:
            result.assertTaskSkipped(":generate")
            output.count("checking") == 8
            outputContains("checking a/a.txt")
            outputContains("checking ignore-2.txt")
            file("out.txt").text == "a.txt,c.txt"
    
            when:
            file("src/d/d.txt").createFile()
            file("src/ignore-3.txt").createFile()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. pkg/test/echo/server/forwarder/dns.go

    	return doForward(ctx, cfg, c.e, c.makeRequest)
    }
    
    type dnsRequest struct {
    	hostname  string
    	dnsServer string
    	query     string
    	protocol  string
    }
    
    func checkIn(got string, want ...string) error {
    	for _, w := range want {
    		if w == got {
    			return nil
    		}
    	}
    	return fmt.Errorf("got value %q, wanted one of %v", got, want)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 10 18:09:08 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/FileTreeIntegrationTest.groovy

                    println("checking \${it.name}")
                    !it.name.contains('ignore')
                }
                task copy(type: Copy) {
                    from files
                    into 'dest'
                }
            """
    
            when:
            run 'copy'
    
            then:
            outputContains("checking one.txt")
            outputContains("checking ignore.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/BaseBuildScanPluginCheckInFixture.groovy

                        def result = checkInService.checkIn(pluginMetadata, serviceFactory)
                        if (result.unsupportedMessage == null) {
                            println "${propertyPrefix}.checkIn.supported"
                            settings.gradle.extensions.add("serviceRef", result.pluginServiceRef)
                        } else {
                            println "${propertyPrefix}.checkIn.unsupported.reasonMessage = \$result.unsupportedMessage"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginCheckInIntegrationTest.groovy

            applyPlugin()
    
            when:
            succeeds "t", "-D${UNSUPPORTED_TOGGLE}=true"
    
            then:
            plugin.assertUnsupportedMessage(output, UNSUPPORTED_TOGGLE_MESSAGE)
        }
    
        def "checkin happens once for build with buildSrc"() {
            given:
            applyPlugin()
            file("buildSrc/src/main/groovy/Thing.groovy") << "class Thing {}"
    
            when:
            succeeds "t"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            return propertyWithNoValue().value(value)
        }
    
        def "finalization checking works empty providers"() {
            given:
            def property = propertyWithNoValue()
    
            expect:
            !property.isPresent()
            !property.isFinalized()
        }
    
        def "finalization checking works with simple values"() {
            given:
            def property = propertyWithValue(someValue())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top