Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for canRead (0.18 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                    this.managedVersions = ArtifactUtils.copyArtifacts(managedVersions, new LinkedHashMap<>());
                }
    
                File pomFile = pomArtifact.getFile();
                if (pomFile != null && pomFile.canRead()) {
                    this.length = pomFile.length();
                    this.timestamp = pomFile.lastModified();
                } else {
                    this.length = -1;
                    this.timestamp = -1;
                }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    Properties props = new Properties();
    
                    channel = new RandomAccessFile(touchfile, "rw").getChannel();
                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
                        props.load(Channels.newInputStream(channel));
                    }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/project/ExtensionDescriptorBuilder.java

                        }
                    }
                }
            } else {
                File pluginXml = new File(extensionJar, getExtensionDescriptorLocation());
    
                if (pluginXml.canRead()) {
                    try (InputStream is = Files.newInputStream(pluginXml.toPath())) {
                        extensionDescriptor = build(is);
                    }
                }
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * exists, this method simply calls the <code>exists</code> method.
         *
         * @return <code>true</code> if the file is read-only
         * @throws CIFSException
         */
        boolean canRead () throws CIFSException;
    
    
        /**
         * Turn off the read-only attribute of this file. This is shorthand for
         * <tt>setAttributes( getAttributes() &amp; ~ATTR_READONLY )</tt>.
         *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFile.java

                }
                return new SmbWatchHandleImpl(openUnshared(O_RDONLY, READ_CONTROL | GENERIC_READ, DEFAULT_SHARING, 0, 1), filter, recursive);
            }
        }
    
    
        @Override
        public boolean canRead () throws SmbException {
            if ( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * exists, this method simply calls the <code>exists</code> method.
     *
     * @return <code>true</code> if the file is read-only
     */
    
        public boolean canRead() throws SmbException {
            if( getType() == TYPE_NAMED_PIPE ) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. docs/multi-user/README.md

    - Configure etcd - [Etcd V3 Quickstart Guide](https://github.com/minio/minio/blob/master/docs/sts/etcd.md)
    
    ### 2. Create a new user with canned policy
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics_test.go

    }
    
    func (client mockPromAPI) Query(ctx context.Context, query string, ts time.Time, opts ...promv1.Option) (prometheus_model.Value, promv1.Warnings, error) {
    	canned, ok := client.cannedResponse[query]
    	if !ok {
    		return prometheus_model.Vector{}, nil, nil
    	}
    	return canned, nil, nil
    }
    
    func (client mockPromAPI) TSDB(ctx context.Context) (promv1.TSDBResult, error) {
    	return promv1.TSDBResult{}, nil
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Oct 25 02:07:44 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. docs/sts/client-grants.md

    | Params        | Value                                          |
    | :--           | :--                                            |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  10. docs/sts/assume-role.md

    | Params        | Value                                          |
    | :--           | :--                                            |
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.1K bytes
    - Viewed (0)
Back to top