- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,261 for checkDir (0.14 sec)
-
src/cmd/compile/internal/types2/signature.go
// Blank identifiers don't get declared, so naive type-checking of the // receiver type expression would fail in Checker.collectParams below, // when Checker.ident cannot resolve the _ to a type. // // Checker.recvTParamMap maps these blank identifiers to their type parameter // types, so that they may be resolved in Checker.ident when they fail // lookup in the scope. for i, p := range rparams { if p.Value == "_" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:33:05 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/vet/testdata/buildtag/buildtag3.go
// Copyright 2020 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. // This file contains tests for the buildtag checker. //go:build good // ERRORNEXT "[+]build lines do not match //go:build condition" // +build bad package testdata var _ = ` // +build notacomment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 20 03:54:48 UTC 2021 - 362 bytes - Viewed (0) -
src/go/parser/testdata/typeset.go2
// with a (type parameter) name are considered array sizes. // The term must be a valid expression (it could be a type incl. a // tilde term) but the type-checker will complain. type ( _[t] t _[t|t] t // These are invalid and the type-checker will complain. _[~t] t _[~t|t] t _[t|~t] t _[~t|~t] t ) type _[_ t, t] /* ERROR "missing type constraint" */ t
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/NullsFirstOrdering.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** An ordering that treats {@code null} as less than all other values. */ @GwtCompatible(serializable = true) @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 27 16:03:47 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/vet/testdata/atomic/atomic.go
// Copyright 2013 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. // This file contains tests for the atomic checker. package atomic import "sync/atomic" func AtomicTests() { x := uint64(1) x = atomic.AddUint64(&x, 1) // ERROR "direct assignment to atomic value"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 20 15:46:42 UTC 2019 - 364 bytes - Viewed (0) -
guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
import com.google.errorprone.annotations.DoNotCall; import java.util.Iterator; import java.util.Map; import java.util.Set; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}. * * @author Ben Yu * @since 13.0 */ @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 5.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/ant/useExternalAntTask/common/checkstyle.xml
<?xml version="1.0"?> <!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> <module name="Checker"> <module name="TreeWalker"> <module name="AvoidStarImport"/> <module name="ConstantName"/> <module name="EmptyBlock"/> </module>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 346 bytes - Viewed (0) -
src/cmd/compile/internal/types2/index.go
) // If e is a valid function instantiation, indexExpr returns true. // In that case x represents the uninstantiated function value and // it is the caller's responsibility to instantiate the function. func (check *Checker) indexExpr(x *operand, e *syntax.IndexExpr) (isFuncInst bool) { check.exprOrType(x, e.X, true) // x may be generic switch x.mode { case invalid: check.use(e.Index) return false case typexpr:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 16:16:58 UTC 2023 - 11.5K bytes - Viewed (0) -
test/typeparam/issue50993.go
// compile -d=checkptr // Copyright 2022 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. package main import ( "sync/atomic" "unsafe" ) type Node[T any] struct { Next *Node[T] // Prev *Node[T] } func LoadPointer[T any](addr **T) (val *T) { return (*T)( atomic.LoadPointer(
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 569 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotMock; import java.util.Map; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 3K bytes - Viewed (0)