Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 303 for setPerm (0.15 sec)

  1. platforms/jvm/plugins-application/src/main/java/org/gradle/api/internal/plugins/StartScriptGenerator.java

                }
            }
    
            private void createWindowsExecutablePermission(File file) {
                Chmod chmod = new Chmod();
                chmod.setFile(file);
                chmod.setPerm("ugo+rx");
                chmod.setProject(AntUtil.createProject());
                chmod.execute();
            }
    
            private void createPosixExecutablePermission(File file) {
                Path path = file.toPath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters.go

    	// per image stored in the node status.
    	MaxNamesPerImageInNodeStatus = 5
    )
    
    // Setter modifies the node in-place, and returns an error if the modification failed.
    // Setters may partially mutate the node before returning an error.
    type Setter func(ctx context.Context, node *v1.Node) error
    
    // NodeAddress returns a Setter that updates address-related information on the node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    	return KeyctlInt(KEYCTL_GET_KEYRING_ID, id, createInt, 0, 0)
    }
    
    // KeyctlSetperm implements the KEYCTL_SETPERM command. The perm value is the
    // key handle permission mask as described in the "keyctl setperm" section of
    // http://man7.org/linux/man-pages/man1/keyctl.1.html.
    // See the full documentation at:
    // http://man7.org/linux/man-pages/man3/keyctl_setperm.3.html
    func KeyctlSetperm(id int, perm uint32) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  4. testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java

                Set<JavaMethod> setters = gettersAndSetters.get(Boolean.FALSE).stream().map(Accessor::getMethod).collect(toSet());
                if (!getters.isEmpty() && !setters.isEmpty()) {
                    return new Accessors(owningClass, propertyName, getters, setters);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxy.java

            if (setters.size() != getters.size()) {
                throwParameterValidationError(clazz, "It contains a different number of getters and setters.");
            }
    
            for (String property : setters.keySet()) {
                if (!getters.containsKey(property)) {
                    throwParameterValidationError(clazz, String.format("A setter for property %s was found but no getter.", property));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:27:26 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    			}
    		}
    		setters = append(setters, setter)
    	}
    
    	return func() error {
    		// Apply the setter for every flag.
    		for _, setter := range setters {
    			setter()
    			if err != nil {
    				return err
    			}
    		}
    		return nil
    	}
    }
    
    func sampleIndex(flag *bool, si string, sampleType, option string, ui plugin.UI) string {
    	if *flag {
    		if si == "" {
    			return sampleType
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy

            when:
            ToolingParameterProxy.validateParameter(InvalidParameter2)
    
            then:
            IllegalArgumentException e = thrown()
            e.message == "org.gradle.tooling.internal.consumer.connection.ToolingParameterProxyTest\$InvalidParameter2 is not a valid parameter type. Method setValue is neither a setter nor a getter."
        }
    
        def "returns parameter invalid when setter and getter have different types"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. test/typeparam/settable.go

    	"strconv"
    )
    
    // Various implementations of fromStrings().
    
    type Setter[B any] interface {
    	Set(string)
    	*B
    }
    
    // Takes two type parameters where PT = *T
    func fromStrings1[T any, PT Setter[T]](s []string) []T {
    	result := make([]T, len(s))
    	for i, v := range s {
    		// The type of &result[i] is *T which is in the type list
    		// of Setter, so we can convert it to PT.
    		p := PT(&result[i])
    		// PT has a Set method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 23:48:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                    if (property.setMethods.isEmpty()) {
                        Set<Class<?>> appliedTo = new HashSet<>();
                        for (Method setter : property.setters) {
                            if (appliedTo.add(setter.getParameterTypes()[0])) {
                                visitor.addSetMethod(property, setter);
                            }
                        }
                    } else if (extensibleTypeHandler.conventionProperties.contains(property)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Managed.java

     *
     * <h3>Abstract classes</h3>
     * <p>
     * A managed type can be implemented as an abstract class.
     * All property getters and setters must be declared {@code abstract} (with the exception of calculated read-only properties).
     * The class cannot contain instance variables, constructors, or any methods that are not a getter or setter.
     *
     * <h3>Creating managed model elements</h3>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top