Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 782 for parsePI (0.07 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

          return MediaType(this, type, subtype, parameterNamesAndValues.toTypedArray())
        }
    
        /** Returns a media type for this, or null if this is not a well-formed media type. */
        @JvmStatic
        @JvmName("parse")
        fun String.toMediaTypeOrNull(): MediaType? =
          try {
            toMediaType()
          } catch (_: IllegalArgumentException) {
            null
          }
    
        @JvmName("-deprecated_get")
        @Deprecated(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:51:08 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  2. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

     */
    package okhttp3.curl
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import com.github.ajalt.clikt.core.parse
    import java.io.IOException
    import kotlin.test.Test
    import okhttp3.RequestBody
    import okio.Buffer
    
    class MainTest {
      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. cmd/bucket-encryption.go

    func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) {
    	sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	return sseCfg, err
    }
    
    // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO.
    func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) {
    	encConfig, err := sse.ParseBucketSSEConfig(r)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.7K bytes
    - Click Count (1)
  4. internal/config/lambda/event/arn.go

    func (arn ARN) String() string {
    	if arn.ID == "" && arn.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // ParseARN - parses string to ARN.
    func ParseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/cmd/asm/doc.go

    		Search for #include files in dir1, dir2, etc,
    		after consulting $GOROOT/pkg/$GOOS_$GOARCH.
    	-S
    		Print assembly and machine code.
    	-V
    		Print assembler version and exit.
    	-debug
    		Dump instructions as they are parsed.
    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Click Count (0)
  6. internal/event/targetid.go

    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	targetID, err := parseTargetID(s)
    	if err != nil {
    		return err
    	}
    
    	*tid = *targetID
    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    	return &TargetID{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

     */
    package jcifs.internal;
    
    import jcifs.CIFSException;
    
    /**
     * Exception thrown when errors occur during SMB protocol message decoding.
     * Indicates that an SMB message could not be properly parsed or decoded due to
     * malformed data, protocol violations, or unsupported message formats.
     *
     * @author mbechler
     */
    public class SMBProtocolDecodingException extends CIFSException {
    
        /**
         *
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/Config.java

         * argument will be returned.
         *
         * @param key the property key to look up
         * @param def the default value to return if the property is not found or cannot be parsed
         * @return the property value as an int, or the default value
         */
    
        public static int getInt(final String key, int def) {
            final String s = prp.getProperty(key);
            if (s != null) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

         * @throws IOException If an error occurs while parsing the material.
         */
        public Type1Message(final byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the supplied authentication domain.
         *
         * @return A <code>String</code> containing the supplied domain.
         */
        public String getSuppliedDomain() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/model/ReleasedVersion.kt

        fun gradleVersion() = GradleVersion.version(version)
        fun buildTimeStamp(): Date = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") }.parse(buildTime)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1K bytes
    - Click Count (0)
Back to Top