- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,121 for Checking (0.2 sec)
-
test/fixedbugs/notinheap.go
// errorcheck -+ // Copyright 2016 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. // Test type-checking errors for go:notinheap. package p //go:notinheap type nih struct{} type embed4 map[nih]int // ERROR "incomplete \(or unallocatable\) map key not allowed"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 17:46:15 UTC 2022 - 1.3K bytes - Viewed (0) -
src/runtime/fds_unix.go
devNull := []byte("/dev/null\x00") for i := 0; i < 3; i++ { ret, errno := fcntl(int32(i), F_GETFD, 0) if ret >= 0 { continue } if errno != EBADF { print("runtime: unexpected error while checking standard file descriptor ", i, ", errno=", errno, "\n") throw("cannot open standard fds") } if ret := open(&devNull[0], O_RDWR, 0); ret < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:20:25 UTC 2023 - 1.3K bytes - Viewed (1) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/httpresponse/httpresponse.go
"golang.org/x/tools/internal/typesinternal" ) const Doc = `check for mistakes using HTTP responses A common mistake when using the net/http package is to defer a function call to close the http.Response Body before checking the error that determines whether the response is valid: resp, err := http.Head(url) defer resp.Body.Close() if err != nil { log.Fatal(err) } // (defer statement belongs here)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/alias.go
assert(rhs != nil) a := new(Alias) a.obj = obj a.orig = a a.fromRHS = rhs if obj.typ == nil { obj.typ = a } // Ensure that a.actual is set at the end of type checking. if check != nil { check.needsCleanup(a) } return a } // newAliasInstance creates a new alias instance for the given origin and type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/projection/ManagedModelProjection.java
ModelType<T> propertyType = property.getType(); // TODO we are relying on the registration having established these links, we should be checking MutableModelNode propertyNode = modelNode.getLink(propertyName); propertyNode.ensureUsable(); ModelView<? extends T> modelView;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.8K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy
contextualLabel == 'Type \'MyTask\' property \'badTime\' is missing an input or output annotation' details == 'A property without annotation isn\'t considered during up-to-date checking' solutions == [ 'Add an input or output annotation', 'Mark it as @Internal', ] additionalData.asMap == [
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40.7K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-fixtures/src/integTest/groovy/org/gradle/java/fixtures/KotlinTestFixturesIntegrationTest.groovy
*/ class KotlinTestFixturesIntegrationTest extends AbstractTestFixturesIntegrationTest { /** * Ensure we make an exception for test fixtures when checking for redundant * configuration usage activation - this combination of plugins should not warn. */ @Issue("https://github.com/gradle/gradle/pull/24271") def "test kotlin + java-test-fixtures"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 13 11:38:02 UTC 2023 - 2.3K bytes - Viewed (0) -
hack/verify-spelling.sh
export GOBIN="${KUBE_OUTPUT_BIN}" PATH="${GOBIN}:${PATH}" # Install tools we need go -C "${KUBE_ROOT}/hack/tools" install github.com/client9/misspell/cmd/misspell # Spell checking # All the skipping files are defined in hack/.spelling_failures skipping_file="${KUBE_ROOT}/hack/.spelling_failures" failing_packages=$(sed "s| | -e |g" "${skipping_file}")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 22:40:10 UTC 2024 - 1.4K bytes - Viewed (0) -
src/go/types/typexpr.go
if isTypeParam(typ) { return } // We don't want to call under() or complete interfaces while we are in // the middle of type-checking parameter declarations that might belong // to interface methods. Delay this check to the end of type-checking. check.later(func() { if t, _ := under(typ).(*Interface); t != nil { tset := computeInterfaceTypeSet(check, e.Pos(), t) // TODO(gri) is this the correct position?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 16.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
if err != nil { return false, errors.Wrapf(err, "Error checking external CA condition for %s certificate authority", caBaseName) } return externallyManaged, nil case kubeadmconstants.FrontProxyCACertAndKeyBaseName: externallyManaged, err := certsphase.UsingExternalFrontProxyCA(rm.cfg) if err != nil { return false, errors.Wrapf(err, "Error checking external CA condition for %s certificate authority", caBaseName) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0)