Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2401 - 2410 of 6,702 for If (0.01 seconds)

  1. cmd/copy-part-range.go

    // referring to the whole resource.
    func parseCopyPartRangeSpec(rangeString string) (hrange *HTTPRangeSpec, err error) {
    	hrange, err = parseRequestRangeSpec(rangeString)
    	if err != nil {
    		return nil, err
    	}
    	if hrange.IsSuffixLength || hrange.Start < 0 || hrange.End < 0 {
    		return nil, errInvalidRange
    	}
    	return hrange, nil
    }
    
    // checkCopyPartRangeWithSize adds more check to the range string in case of
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 18 03:27:04 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableCollection.java

        checkNotNull(other);
        int size = size();
    
        if (other.length < size) {
          Object[] internal = internalArray();
          if (internal != null) {
            return Platform.copy(internal, internalArrayStart(), internalArrayEnd(), other);
          }
          other = ObjectArrays.newArray(other, size);
        } else if (other.length > size) {
          other[size] = null;
        }
        copyIntoArray(other, 0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        Collection<String> getChecksumAlgorithmNames();
    
        /**
         * Returns {@link ChecksumAlgorithm} for given algorithm name, or throws if algorithm not supported.
         *
         * @throws ChecksumAlgorithmServiceException if asked algorithm name is not supported.
         * @throws NullPointerException if passed in name is {@code null}.
         */
        @Nonnull
        ChecksumAlgorithm select(@Nonnull String algorithmName);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 10 20:52:34 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsClickLog.java

            Map<String, Object> sourceMap = new HashMap<>();
            if (urlId != null) {
                addFieldToSource(sourceMap, "urlId", urlId);
            }
            if (docId != null) {
                addFieldToSource(sourceMap, "docId", docId);
            }
            if (order != null) {
                addFieldToSource(sourceMap, "order", order);
            }
            if (queryId != null) {
                addFieldToSource(sourceMap, "queryId", queryId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. internal/bucket/lifecycle/delmarker-expiration.go

    	err := dec.DecodeElement(&dexp, &start)
    	if err != nil {
    		return err
    	}
    
    	if dexp.Days <= 0 {
    		return errInvalidDaysDelMarkerExpiration
    	}
    
    	*de = DelMarkerExpiration(dexp)
    	return nil
    }
    
    // MarshalXML encodes a DelMarkerExpiration value into an XML element
    func (de DelMarkerExpiration) MarshalXML(enc *xml.Encoder, start xml.StartElement) error {
    	if de.Empty() {
    		return nil
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

                else -> false
              }
    
            if (recorded) {
              synchronized(clientEventsList) {
                clientEventsList.add(record.message)
    
                if (record.loggerName == "javax.net.ssl") {
                  val parameters = record.parameters
    
                  if (parameters != null) {
                    clientEventsList.add(parameters.first().toString())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/EnumMultiset.java

        }
        Enum<?> e = (Enum<?>) element;
        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = e.ordinal();
        int oldCount = counts[index];
        if (oldCount == 0) {
          return 0;
        } else if (oldCount <= occurrences) {
          counts[index] = 0;
          distinctElements--;
          size -= oldCount;
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. cmd/generic-handlers_test.go

    func TestGuessIsRPC(t *testing.T) {
    	if guessIsRPCReq(nil) {
    		t.Fatal("Unexpected return for nil request")
    	}
    
    	u, err := url.Parse("http://localhost:9000/minio/lock")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	r := &http.Request{
    		Proto:  "HTTP/1.0",
    		Method: http.MethodPost,
    		URL:    u,
    	}
    	if !guessIsRPCReq(r) {
    		t.Fatal("Test shouldn't fail for a possible net/rpc request.")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java

            Plugin plugin = findPlugin(model, pluginGroupId, pluginArtifactId);
            if (plugin != null) {
                if (pluginExecutionId != null && !pluginExecutionId.isEmpty()) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        if (pluginExecutionId.equals(execution.getId())) {
                            setConfiguration(execution.getConfiguration());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun shouldVisitMethod(node: MethodNode): Boolean = isIntegrationTest(node.declaringClass)
    
        override fun visitMethodCallExpression(mce: MethodCallExpression) {
            if (AstUtil.isMethodNamed(mce, "contains")) {
                checkOutputContains(mce)
            } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
Back to Top