Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 782 for parseEK (0.04 sec)

  1. cmd/httprange.go

    	if err != nil {
    		return 0, 0, err
    	}
    
    	start = h.Start
    	if h.IsSuffixLength {
    		start = max(resourceSize+h.Start, 0)
    	}
    	return start, length, nil
    }
    
    // Parse a HTTP range header value into a HTTPRangeSpec
    func parseRequestRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) {
    	// Return error if given range string doesn't start with byte range prefix.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

        public static final String CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES = "currentAccessorsOfUpgradedProperties";
    
        public static List<UpgradedProperty> parse(String path) {
            File file = new File(path);
            if (!file.exists()) {
                return Collections.emptyList();
            }
            try (FileReader reader = new FileReader(file)) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    			ondiskTimestamp, err := time.Parse(time.RFC3339, tagTmStr)
    			if err == nil {
    				dstOpts.Internal.TaggingTimestamp = ondiskTimestamp
    			}
    		}
    		if retTmStr, ok := lkMap.Lookup(ReservedMetadataPrefixLower + ObjectLockRetentionTimestamp); ok {
    			ondiskTimestamp, err := time.Parse(time.RFC3339, retTmStr)
    			if err == nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 118.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils_test.go

    	for i, test := range parseReplicationDecisionTest {
    		dsc, err := parseReplicateDecision(t.Context(), "bucket", test.expDsc.String())
    		if err != nil {
    			if test.expErr != err {
    				t.Errorf("Test%d (%s): Expected parse error got %t , want %t", i+1, test.name, err, test.expErr)
    			}
    			continue
    		}
    		if len(dsc.targetsMap) != len(test.expDsc.targetsMap) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                                        logger.warn("Failed to parse date mapping: {}", mapping);
                                    }
                                } else {
                                    logger.warn("Unknown mapping type: {}={}", key, mapping);
                                }
                            } catch (final Exception e) {
                                logger.warn("Failed to parse value: {}", values[0], e);
                            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        return ipStringToBytes(ipString, null) != null;
      }
    
      private static final class Scope {
        private String scope;
      }
    
      /** Returns {@code null} if unable to parse into a {@code byte[]}. */
      private static byte @Nullable [] ipStringToBytes(String ipStringParam, @Nullable Scope scope) {
        String ipString = ipStringParam;
        // Make a first pass to categorize the characters in this string.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            i += 4;
    
            assert i == body.length;
            return body;
        }
    
        /**
         * Build a CREATE response body with a single, unrecognized create context.
         * The parser should iterate it but produce an empty contexts array.
         */
        private static byte[] buildCreateBodyWithContext(byte[] fileId, int contextStartOffsetFromHeader) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      } catch (_: NumberFormatException) {
        defaultValue
      }
    
    /**
     * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too
     * large, or [defaultValue] if it cannot be parsed.
     */
    internal fun String?.toNonNegativeInt(defaultValue: Int): Int {
      try {
        val value = this?.toLong() ?: return defaultValue
        return when {
          value > Int.MAX_VALUE -> Int.MAX_VALUE
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                if (rawVal != null) {
                    try {
                        return new Date(Long.parseLong(rawVal));
                    } catch (NumberFormatException e) {
                        getLogger().debug("Cannot parse lastUpdated date: '" + rawVal + "'. Ignoring.", e);
                    }
                }
            }
            return null;
        }
    
        private String getError(File touchFile, String key) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. internal/config/dns/operator_dns.go

    	if err != nil {
    		return err
    	}
    
    	r.Header.Set("Authorization", "Bearer "+ss)
    	return nil
    }
    
    func (c *OperatorDNS) endpoint(bucket string, del bool) (string, error) {
    	u, err := url.Parse(c.Endpoint)
    	if err != nil {
    		return "", err
    	}
    	q := u.Query()
    	q.Add("bucket", bucket)
    	q.Add("delete", strconv.FormatBool(del))
    	u.RawQuery = q.Encode()
    	return u.String(), nil
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 11 14:51:43 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top