- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 125 for asNode (0.3 sec)
-
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaModule.java
* generateTo = file('secret-modules-folder') * * //if you want to mess with the resulting XML in whatever way you fancy * withXml { * def node = it.asNode() * node.appendNode('iLoveGradle', 'true') * node.appendNode('butAlso', 'I find increasing pleasure tinkering with output *.iml contents. Yeah!!!') * } *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 09:58:16 UTC 2024 - 22.9K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaModuleIntegrationTest.groovy
testOutputDir = file('muchBetterTestOutputDir') jdkName = '1.6' iml { generateTo = file('customImlFolder') withXml { def node = it.asNode() node.appendNode('someInterestingConfiguration', 'hey!') } } } } ''' //then def iml = parseImlFile('customImlFolder/foo')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 24.4K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 45.6K bytes - Viewed (0) -
platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseClasspathIntegrationTest.groovy
containers 'someFriendlyContainer', 'andYetAnotherContainer' defaultOutputDir = file('build-eclipse') downloadSources = false downloadJavadoc = true file { withXml { it.asNode().appendNode('message', 'be cool') } } } } """ //then def vars = classpath.vars assert vars.size() == 1 vars[0].assertHasJar("fooPathVariable/foo.txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 36.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
} return 1 } func (l *CostEstimator) sizeEstimate(t checker.AstNode) checker.SizeEstimate { if sz := t.ComputedSize(); sz != nil { return *sz } if sz := l.EstimateSize(t); sz != nil { return *sz } return checker.SizeEstimate{Min: 0, Max: math.MaxUint64} } func (l *CostEstimator) listElementNode(list checker.AstNode) checker.AstNode { if params := list.Type().Parameters(); len(params) > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer.go
) func (r *NodeAuthorizer) RulesFor(user user.Info, namespace string) ([]authorizer.ResourceRuleInfo, []authorizer.NonResourceRuleInfo, bool, error) { if _, isNode := r.identifier.NodeIdentity(user); isNode { // indicate nodes do not have fully enumerated permissions return nil, nil, true, fmt.Errorf("node authorizer does not support user rule resolution") } return nil, nil, false, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 16K bytes - Viewed (0) -
platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/transform/RuleVisitor.java
* limitations under the License. */ package org.gradle.model.dsl.internal.transform; import com.google.common.base.Joiner; import org.codehaus.groovy.ast.ASTNode; import org.codehaus.groovy.ast.ClassHelper; import org.codehaus.groovy.ast.ClassNode; import org.codehaus.groovy.ast.FieldNode; import org.codehaus.groovy.ast.MethodNode; import org.codehaus.groovy.ast.Parameter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 18.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation.go
currentNode = field.Type } } return &checker.SizeEstimate{Min: 0, Max: uint64(currentNode.MaxElements)} } func (c *sizeEstimator) EstimateCallCost(function, overloadID string, target *checker.AstNode, args []checker.AstNode) *checker.CallEstimate { return nil } // maxCardinality returns the maximum number of times data conforming to the minimum size given could possibly exist in
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 13.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go
}, } est := &CostEstimator{SizeEstimator: &testCostEstimator{}} for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { var targetNode checker.AstNode = testSizeNode{size: tc.targetSize} argNodes := make([]checker.AstNode, len(tc.argSizes)) for i, arg := range tc.argSizes { argNodes[i] = testSizeNode{size: arg} }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 40.8K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
import org.gradle.kotlin.dsl.support.KotlinScriptHost import org.gradle.kotlin.dsl.support.bytecode.ALOAD import org.gradle.kotlin.dsl.support.bytecode.ARETURN import org.gradle.kotlin.dsl.support.bytecode.ASTORE import org.gradle.kotlin.dsl.support.bytecode.CHECKCAST import org.gradle.kotlin.dsl.support.bytecode.DUP import org.gradle.kotlin.dsl.support.bytecode.GETSTATIC import org.gradle.kotlin.dsl.support.bytecode.ICONST_0
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0)