Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for listMaps (0.25 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				})),
    			}),
    			expectCost: map[string]int64{
    				"has(self.listMap[0].v)":                             3,
    				"self.listMap.all(m, m.k.startsWith('a'))":           21,
    				"self.listMap.all(m, !has(m.v2) || m.v2 == 'z')":     21,
    				"self.listMap.exists(m, m.k.endsWith('1'))":          13,
    				"self.listMap.exists_one(m, m.k == 'a3')":            15,
    				"!self.listMap.all(m, m.k.endsWith('1'))":            18,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				})),
    			}),
    			valid: []string{
    				"has(self.listMap[0].v)",
    				"self.listMap.all(m, m.k.startsWith('a'))",
    				"self.listMap.all(m, !has(m.v2) || m.v2 == 'z')",
    				"self.listMap.exists(m, m.k.endsWith('1'))",
    				"self.listMap.exists_one(m, m.k == 'a3')",
    				"!self.listMap.all(m, m.k.endsWith('1'))",
    				"!self.listMap.exists(m, m.v == 'x')",
    				"!self.listMap.exists_one(m, m.k.startsWith('a'))",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/SocksProxyResolveIntegrationTest.groovy

            proxyServer.configureProxy(executer)
            fails('listJars') // Don't have to succeed here, just record the attempt in the fake proxy and verify it
            then:
            result.assertTaskExecuted(":listJars")
            recordingServer.madeAnyConnection()
    
            when:
            proxyServer.stop()
            proxyServer.configureProxy(executer)
            fails('listJars', '--refresh-dependencies')
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractProxyResolveIntegrationTest.groovy

        def setup() {
            module = repo.module("org.gradle.test", "some-lib", "1.2.17").publish()
            buildFile << """
    configurations { compile }
    dependencies { compile 'org.gradle.test:some-lib:1.2.17' }
    task listJars {
        def files = configurations.compile
        doLast {
            assert files*.name == ['some-lib-1.2.17.jar']
        }
    }
    """
        }
    
        def "uses configured proxy to access remote repository"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/ivy/AbstractIvyRemoteRepoResolveIntegrationTest.groovy

            moduleB.ivy.expectDownload()
            moduleB.jar.expectDownload()
    
    
            then:
            succeeds('listJars')
    
            when:
            server.resetExpectations()
    
            then:
            succeeds('listJars')
        }
    
        public void "can resolve and cache dependencies from a remote Ivy repository"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpAuthenticationDependencyResolutionIntegrationTest.groovy

    dependencies {
        compile 'group:projectA:1.2'
    }
    task listJars {
        def files = configurations.compile
        doLast {
            assert files*.name == ['projectA-1.2.jar']
        }
    }
    """
    
            when:
            serverAuthScheme = HEADER
    
            and:
            moduleA.pom.expectGet()
            moduleA.artifact.expectGet()
    
            then:
            succeeds('listJars')
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractRedirectResolveIntegrationTest.groovy

            backingServer.expectGet('/redirected/group/projectA/1.0/projectA-1.0.jar', module.jarFile)
    
            then:
            succeeds('listJars')
        }
    
        def "prints last redirect location in case of failure"() {
            given:
            buildFile << configurationWithIvyDependencyAndExpectedArtifact('group:projectA:1.0', 'projectA-1.0.jar')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyDownloadBuildOperationsIntegrationTest.groovy

            downloadOps[3].result.bytesRead == m.artifact.file.length()
    
            def listOps = buildOperations.all(ExternalResourceListBuildOperationType)
            listOps.size() == 2
            listOps[0].details.location == missingDir.uri.toString()
            listOps[1].details.location == dir.uri.toString()
    
            def artifactsOps = buildOperations.all(ResolveArtifactsBuildOperationType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 14 00:59:27 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/HttpEncodingDependencyResolutionIntegrationTest.groovy

            module.publish()
    
            and:
            buildFile << """
    repositories {
        ivy { url "${server.uri}/repo" }
    }
    configurations { compile }
    dependencies { compile 'group:projectA:1.2' }
    task listJars {
        def files = configurations.compile
        doLast {
            assert files*.name == ['projectA-1.2.jar']
        }
    }
    """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/CacheResolveIntegrationTest.groovy

    dependencies { compile 'group:projectA:1.2' }
    task listJars {
        def files = configurations.compile
        doLast {
            assert files.collect { it.name } == ['projectA-1.2.jar']
        }
    }
    task deleteCacheFiles(type: Delete) {
        delete fileTree(dir: '${cacheDir}', includes: ['**/projectA/**'])
    }
    """
    
            and:
            module.allowAll()
    
            and:
            succeeds('listJars')
            succeeds('deleteCacheFiles')
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top