Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 857 for Otherwise (0.06 sec)

  1. src/archive/tar/writer.go

    	return sw.sp[len(sw.sp)-1].endOffset() - sw.pos
    }
    
    func (sw sparseFileWriter) physicalRemaining() int64 {
    	return sw.fw.physicalRemaining()
    }
    
    // zeroWriter may only be written with NULs, otherwise it returns errWriteHole.
    type zeroWriter struct{}
    
    func (zeroWriter) Write(b []byte) (int, error) {
    	for i, c := range b {
    		if c != 0 {
    			return i, errWriteHole
    		}
    	}
    	return len(b), nil
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    	if s3Err != ErrNone {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(s3Err), r.URL)
    		return
    	}
    
    	checkDenyOnly := false
    	if name == cred.AccessKey {
    		// Check that there is no explicit deny - otherwise it's allowed
    		// to view one's own info.
    		checkDenyOnly = true
    	}
    
    	if !globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * be queried for on the specified server as expected.
     *
     * @return <code>true</code> if the resource exists or is alive or
     *         <code>false</code> otherwise
     */
    
        public boolean exists() throws SmbException {
    
            if( attrExpiration > System.currentTimeMillis() ) {
                return isExists;
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    			return 0, err
    		}
    	}
    
    	// Close the file descriptor.
    	defer file.Close()
    
    	st, err := file.Stat()
    	if err != nil {
    		return 0, err
    	}
    
    	// Verify it is a regular file, otherwise subsequent Seek is
    	// undefined.
    	if !st.Mode().IsRegular() {
    		return 0, errIsNotRegular
    	}
    
    	if verifier == nil {
    		n, err = file.ReadAt(buffer, offset)
    		return int64(n), err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteSource.java

     *       block indefinitely or fail if the source creates an infinite stream.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> stream will consume or otherwise alter the
     *       bytes of the source as they are read from it. A source that provides such streams will not
     *       be reusable, and operations that read from the stream (including {@link #size()}, in some
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        Builder(int expectedKeys) {
          if (expectedKeys > 0) {
            builderMap = Platform.preservesInsertionOrderOnPutsMapWithExpectedSize(expectedKeys);
          }
          // otherwise, leave it null to be constructed lazily
        }
    
        Map<K, ImmutableCollection.Builder<V>> ensureBuilderMapNonNull() {
          Map<K, ImmutableCollection.Builder<V>> result = builderMap;
          if (result == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Chars.java

      /**
       * Returns an array containing the same values as {@code array}, but guaranteed to be of a
       * specified minimum length. If {@code array} already has a length of at least {@code minLength},
       * it is returned directly. Otherwise, a new array of size {@code minLength + padding} is
       * returned, containing the values of {@code array}, and zeroes in the remaining places.
       *
       * @param array the source array
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Range.java

     *       not</b> allow the endpoint instances to mutate after the range is created!
     *   <li>Your value type's comparison method should be {@linkplain Comparable consistent with
     *       equals} if at all possible. Otherwise, be aware that concepts used throughout this
     *       documentation such as "equal", "same", "unique" and so on actually refer to whether {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TreeMultiset.java

     * equivalence of instances.
     *
     * <p><b>Warning:</b> The comparison must be <i>consistent with equals</i> as explained by the
     * {@link Comparable} class specification. Otherwise, the resulting multiset will violate the {@link
     * java.util.Collection} contract, which is specified in terms of {@link Object#equals}.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link #threadFail},
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top