Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,271 for _return (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      if (address[11] != 255.toByte()) return false
    
      return true
    }
    
    /** Encodes an IPv4 address in canonical form according to RFC 4001. */
    internal fun inet4AddressToAscii(address: ByteArray): String {
      require(address.size == 4)
      return Buffer()
        .writeDecimalLong((address[0] and 0xff).toLong())
        .writeByte('.'.code)
        .writeDecimalLong((address[1] and 0xff).toLong())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/ParametricNullness.java

     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/ParametricNullness.java

     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  4. internal/ioutil/ioutil.go

    	buf := *bufp
    
    	return io.CopyBuffer(writerOnly{dst}, src, buf)
    }
    
    // SameFile returns if the files are same.
    func SameFile(fi1, fi2 os.FileInfo) bool {
    	if !os.SameFile(fi1, fi2) {
    		return false
    	}
    	if !fi1.ModTime().Equal(fi2.ModTime()) {
    		return false
    	}
    	if fi1.Mode() != fi2.Mode() {
    		return false
    	}
    	return fi1.Size() == fi2.Size()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/CharMatcher.java

          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
            // TODO(lowasser): is it potentially worth just going ahead and building a precomputed
            // matcher?
            return new AnyOf(sequence);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils.go

    func (rt ResyncStatusType) isValid() bool {
    	return rt != NoResync
    }
    
    func (rt ResyncStatusType) String() string {
    	switch rt {
    	case ResyncStarted:
    		return "Ongoing"
    	case ResyncCompleted:
    		return "Completed"
    	case ResyncFailed:
    		return "Failed"
    	case ResyncPending:
    		return "Pending"
    	case ResyncCanceled:
    		return "Canceled"
    	default:
    		return ""
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         * Returns the current working directory for the Maven execution.
         * This is typically the directory from which Maven was invoked.
         *
         * @return the current working directory path
         */
        @Nonnull
        Path cwd();
    
        /**
         * Returns the Maven installation directory.
         * This is usually set by the Maven launcher script using the "maven.home" system property.
         *
         * @return the Maven installation directory path
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 08:06:47 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. cmd/xl-storage-meta-inline.go

    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    	return x[0] > 0 && x[0] <= xlMetaInlineDataVer
    }
    
    // afterVersion returns the payload after the version, if any.
    func (x xlMetaInlineData) afterVersion() []byte {
    	if len(x) == 0 {
    		return x
    	}
    	return x[1:]
    }
    
    // find the data with key s.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. cmd/erasure-coding.go

    				panic(err)
    			}
    			enc = e
    		})
    		return enc
    	}
    	return
    }
    
    // EncodeData encodes the given data and returns the erasure-coded data.
    // It returns an error if the erasure coding failed.
    func (e *Erasure) EncodeData(ctx context.Context, data []byte) ([][]byte, error) {
    	if len(data) == 0 {
    		return make([][]byte, e.dataBlocks+e.parityBlocks), nil
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    		return cred, ErrSignatureVersionNotSupported
    	}
    
    	cred, _, apiErr := getReqAccessKeyV2(r)
    	if apiErr != ErrNone {
    		return cred, apiErr
    	}
    
    	return cred, ErrNone
    }
    
    func doesSignV2Match(r *http.Request) APIErrorCode {
    	v2Auth := r.Header.Get(xhttp.Authorization)
    	cred, apiError := validateV2AuthHeader(r)
    	if apiError != ErrNone {
    		return apiError
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top