Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 416 for aliasRef (0.14 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/catalog/problems/VersionCatalogErrorMessages.groovy

            }
        }
    
        static class NameClash extends InCatalog<NameClash> {
            private List<String> aliases = []
            private String getterName
            private String kind = 'library aliases'
    
            NameClash inConflict(String... aliases) {
                Collections.addAll(this.aliases, aliases)
                this
            }
    
            NameClash getterName(String getter) {
                this.getterName = getter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 14:11:31 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/DefaultVersionCatalogBuilderTest.groovy

            when:
            builder.build()
    
            then:
            InvalidUserDataException ex = thrown()
            verify(ex.message, undefinedAliasRef {
                inCatalog('libs')
                aliasRef('foo')
                bundle('toto')
            })
        }
    
        def "normalizes alias separators to dot"() {
            builder.library("guava", "com.google.guava:guava:17.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Dec 17 22:25:43 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

            parse('one-bundle')
    
            then:
            InvalidUserDataException ex = thrown()
            verify(ex.message, undefinedAliasRef {
                inCatalog('libs')
                bundle('guava')
                aliasRef('hello')
            })
        }
    
        def "parses a file with a single version and nothing else"() {
            when:
            parse('one-version')
    
            then:
            hasVersion('guava', '17')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/testdata/aliases.gox

    v2;
    package aliases;
    prefix go;
    package aliases go.aliases go.aliases;
    type <type 1 "A0" = <type 2 "T0" <type 3 [10 ] <type -11>>
     func (? <esc:0x1> <type 2>) .go.aliases.m1 ();
     func (? <esc:0x1> <type 1>) .go.aliases.m2 ();
     func (? <esc:0x1> <type 4 "V1" = <type 5 "V2" = <type 6 "V3" = <type 2>>>>) .go.aliases.n ();
    >>;
    type <type 7 "A1" = <type 8 "T1" <type 9 [] <type -20>>>>;
    type <type 10 "A10" = <type 11 [10 ] <type -11>>>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/testdata/aliases.go

    package aliases
    
    type (
    	T0 [10]int
    	T1 []byte
    	T2 struct {
    		x int
    	}
    	T3 interface {
    		m() T2
    	}
    	T4 func(int, T0) chan T2
    )
    
    // basic aliases
    type (
    	Ai = int
    	A0 = T0
    	A1 = T1
    	A2 = T2
    	A3 = T3
    	A4 = T4
    
    	A10 = [10]int
    	A11 = []byte
    	A12 = struct {
    		x int
    	}
    	A13 = interface {
    		m() A2
    	}
    	A14 = func(int, A0) chan A2
    )
    
    // alias receiver types
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 27 02:52:03 UTC 2018
    - 624 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases.go

    // Copyright 2024 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 aliases
    
    import (
    	"go/token"
    	"go/types"
    )
    
    // Package aliases defines backward compatible shims
    // for the types.Alias type representation added in 1.22.
    // This defines placeholders for x/tools until 1.26.
    
    // NewAlias creates a new TypeName in Package pkg that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. hack/verify-import-aliases.sh

    # limitations under the License.
    
    # This script verifies that all the imports have our preferred alias(es). The
    # preferred aliases for imports are listed in `hack/.import-aliases`.
    # Usage: `hack/verify-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. cluster/gce/upgrade-aliases.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # !!!EXPERIMENTAL!!! Upgrade a K8s cluster from routes to IP aliases for
    # node connectivity on GCE. This is only for migration.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    if [[ "${KUBERNETES_PROVIDER:-gce}" != "gce" ]]; then
      echo "ERR: KUBERNETES_PROVIDER must be gce" >&2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. src/net/testdata/aliases

    Mateusz Poliwczak <******@****.***> 1668103677 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 18:29:14 UTC 2022
    - 257 bytes
    - Viewed (0)
  10. hack/update-import-aliases.sh

    # limitations under the License.
    
    # This script fixes imports programmatically according to
    # all the imports that we have our preferred alias(es).
    # Usage: `hack/update-import-aliases.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    kube::golang::setup_env
    
    cd "${KUBE_ROOT}"
    
    ret=0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top