Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 35 for setRead (0.16 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultConfigurableFilePermissionsTest.java

        }
    
        private static void assertPermissions(ConfigurableUserClassFilePermissions permission, boolean read, boolean write, boolean execute) {
            assertEquals("READ permission incorrect", read, permission.getRead());
            assertEquals("WRITE permission incorrect", write, permission.getWrite());
            assertEquals("EXECUTE permission incorrect", execute, permission.getExecute());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionControlSystem.java

            try {
                return configureTransport(Git.lsRemoteRepository()).setRemote(normalizeUri(gitSpec.getUrl())).setTags(tags).setHeads(heads).call();
            } catch (URISyntaxException | GitAPIException e) {
                throw wrapGitCommandException("ls-remote", gitSpec.getUrl(), null, e);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                        @Input
                        String getExtension()
                        void setExtension(String value)
                        @${ann.simpleName}
                        String getBad()
                        void setBad(String value)
                    }
    
                    void transform(TransformOutputs outputs) {
                        throw new RuntimeException()
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  4. pkg/volume/util/util.go

    	}
    
    	if !s.Mode().IsRegular() {
    		klog.Errorf("ready-file is not a file: %s", readyFile)
    		return false
    	}
    
    	return true
    }
    
    // SetReady creates a file called 'ready' in the given
    // directory.  It logs an error if the file cannot be
    // created.
    func SetReady(dir string) {
    	if err := os.MkdirAll(dir, 0750); err != nil && !os.IsExist(err) {
    		klog.Errorf("Can't mkdir %s: %v", dir, err)
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  5. pkg/volume/emptydir/empty_dir.go

    	// If setting up the quota fails, just log a message but don't actually error out.
    	// We'll use the old du mechanism in this case, at least until we support
    	// enforcement.
    	if err == nil {
    		volumeutil.SetReady(ed.getMetaDir())
    		err = ed.assignQuota(dir, mounterArgs.DesiredSize)
    	}
    	return err
    }
    
    // assignQuota checks if the underlying medium supports quotas and if so, sets
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. pkg/volume/configmap/configmap_test.go

    	}
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    
    	podMetadataDir := fmt.Sprintf("%v/pods/test_pod_uid3/plugins/kubernetes.io~configmap/test_volume_name", rootDir)
    	util.SetReady(podMetadataDir)
    	volumePath := mounter.GetPath()
    	if !hasPathSuffix(volumePath, "pods/test_pod_uid3/volumes/kubernetes.io~configmap/test_volume_name") {
    		t.Errorf("Got unexpected path: %s", volumePath)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 19.9K bytes
    - Viewed (0)
  7. pkg/volume/secret/secret_test.go

    	}
    	if mounter == nil {
    		t.Fatalf("Got a nil Mounter")
    	}
    
    	podMetadataDir := fmt.Sprintf("%v/pods/test_pod_uid3/plugins/kubernetes.io~secret/test_volume_name", rootDir)
    	util.SetReady(podMetadataDir)
    	volumePath := mounter.GetPath()
    	if !hasPathSuffix(volumePath, "pods/test_pod_uid3/volumes/kubernetes.io~secret/test_volume_name") {
    		t.Errorf("Got unexpected path: %s", volumePath)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 19.5K bytes
    - Viewed (0)
  8. pkg/volume/emptydir/empty_dir_test.go

    						},
    					},
    				},
    			},
    		}
    	)
    
    	if config.readyDirExists {
    		physicalMounter.MountPoints = []mount.MountPoint{
    			{
    				Path: volumePath,
    			},
    		}
    		volumeutil.SetReady(metadataDir)
    	}
    
    	mounter, err := plug.(*emptyDirPlugin).newMounterInternal(volume.NewSpecFromVolume(spec),
    		pod,
    		physicalMounter,
    		&mountDetector,
    		volume.VolumeOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

                    }
    
                    @Nested
                    public NestedBeanWithAction getBean() {
                        return bean;
                    }
    
                    public void setBean(NestedBeanWithAction bean) {
                        this.bean = bean;
                    }
    
                    @TaskAction
                    public void doStuff() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  10. pkg/ctrlz/assets/static/js/popper-1.12.9.min.js

    null===e.parentNode?e:s(e.parentNode)}function d(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=o?e:t,n=o?t:e,a=document.createRange();a.setStart(i,0),a.setEnd(n,0);var l=a.commonAncestorContainer;if(e!==l&&t!==l||i.contains(n))return p(l)?l:r(l);var f=s(e);return f.host?d(f.host,t):d(e,s(t).host)}function a(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'s...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 18.7K bytes
    - Viewed (0)
Back to top