- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for newProps (0.27 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy
public void apply(Project project) { Properties newProps = new Properties(); System.getProperties().forEach(newProps::put); newProps.replace("some.property", "new.value"); System.setProperties(newProps); } } """ buildScript(""" apply plugin: SomePlugin
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy
class SomePlugin implements Plugin<Project> { void apply(Project project) { def newProps = new Properties() System.properties.forEach { k, v -> newProps[k] = v } newProps.replace("some.property", "new.value") ${setProperties}(newProps) project.tasks.register("printProperty") { doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.4K bytes - Viewed (0) -
src/mdo/transformer.vm
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 7.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskInputs.java
return registration; }); } @Override public TaskInputs properties(final Map<String, ?> newProps) { taskMutator.mutate("TaskInputs.properties(Map)", () -> { for (Map.Entry<String, ?> entry : newProps.entrySet()) { StaticValue staticValue = new StaticValue(entry.getValue()); String name = entry.getKey();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy
System.setProperty("some.removed.property", "removed.value") def newProps = new Properties() System.properties.forEach { k, v -> newProps.put(k, v) } newProps.setProperty("some.property", "some.value") newProps.remove("some.removed.property") System.setProperties(newProps) tasks.register("printProperty") { doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 36K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/group_adder.go
if err != nil || !ok { return nil, ok, err } newGroups := make([]string, 0, len(r.User.GetGroups())+len(g.Groups)) newGroups = append(newGroups, r.User.GetGroups()...) newGroups = append(newGroups, g.Groups...) ret := *r // shallow copy ret.User = &user.DefaultInfo{ Name: r.User.GetName(), UID: r.User.GetUID(), Groups: newGroups, Extra: r.User.GetExtra(), } return &ret, true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 1.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/authenticated_group_adder.go
return r, true, nil } } newGroups := make([]string, 0, len(r.User.GetGroups())+1) newGroups = append(newGroups, r.User.GetGroups()...) newGroups = append(newGroups, user.AllAuthenticated) ret := *r // shallow copy ret.User = &user.DefaultInfo{ Name: r.User.GetName(), UID: r.User.GetUID(), Groups: newGroups, Extra: r.User.GetExtra(), } return &ret, true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/group/token_group_adder.go
if err != nil || !ok { return nil, ok, err } newGroups := make([]string, 0, len(r.User.GetGroups())+len(g.Groups)) newGroups = append(newGroups, r.User.GetGroups()...) newGroups = append(newGroups, g.Groups...) ret := *r // shallow copy ret.User = &user.DefaultInfo{ Name: r.User.GetName(), UID: r.User.GetUID(), Groups: newGroups, Extra: r.User.GetExtra(), } return &ret, true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 11 20:04:50 UTC 2022 - 1.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/ar.go
// Don't try to pull things out of a host archive to // satisfy this symbol. continue } } newundefs = append(newundefs, s) newfroms = append(newfroms, s) } return newundefs, newfroms } // hostArchive reads an archive file holding host objects and links in // required objects. The general format is the same as a Go archive // file, but it has an armap listing symbols and the objects that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 19 23:11:11 UTC 2022 - 7.2K bytes - Viewed (0)