Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 4,290 for if (0.15 sec)

  1. internal/bucket/lifecycle/expiration.go

    	err := d.DecodeElement(&exp, &startElement)
    	if err != nil {
    		return err
    	}
    	*e = Expiration(exp)
    	e.set = true
    	return nil
    }
    
    // Validate - validates the "Expiration" element
    func (e Expiration) Validate() error {
    	if !e.set {
    		return nil
    	}
    
    	// DeleteMarker cannot be specified if date or dates are specified.
    	if (!e.IsDaysNull() || !e.IsDateNull()) && e.DeleteMarker.set {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        val listener = (call as? RealCall)?.eventListener ?: EventListener.NONE
    
        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRequestHeaderCQ.java

            if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
                BoolQueryBuilder builder = regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(),
                        mustNotQuery.getQueryBuilderList(), filterQuery.getQueryBuilderList());
                if (opLambda != null) {
                    opLambda.callback(builder);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 57.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsCrawlingInfoParamCA.java

            CrawlingInfoParamCQ cq = new CrawlingInfoParamCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                CrawlingInfoParamCA ca = new CrawlingInfoParamCA();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 28.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          if (HttpMethod.permitsRequestBody(request.method) && requestBody != null) {
            // If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100
            // Continue" response before transmitting the request body. If we don't get that, return
            // what we did get (such as a 4xx response) without ever transmitting the request body.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  6. internal/bucket/versioning/versioning.go

    	return v.Status == Suspended
    }
    
    // PrefixSuspended - returns true if versioning is suspended at the bucket level
    // or suspended on the given prefix.
    func (v Versioning) PrefixSuspended(prefix string) bool {
    	if v.Status == Suspended {
    		return true
    	}
    	if v.Status == Enabled {
    		if prefix == "" {
    			return false
    		}
    		if v.ExcludeFolders && strings.HasSuffix(prefix, "/") {
    			return true
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  7. tests/update_test.go

    		if err := DB.Where("id = ?", users[2].ID).First(&last).Error; err != nil {
    			t.Errorf("errors happened when query after user: %v", err)
    		}
    		CheckUser(t, last, *users[2])
    	}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	} else if user.ID == 0 {
    		t.Fatalf("user's primary value should not zero, %v", user.ID)
    	} else if user.UpdatedAt.IsZero() {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  8. internal/crypto/sse-c.go

    // IsRequested returns true if the HTTP headers contains
    // at least one SSE-C header. SSE-C copy headers are ignored.
    func (ssec) IsRequested(h http.Header) bool {
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerAlgorithm]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKey]; ok {
    		return true
    	}
    	if _, ok := h[xhttp.AmzServerSideEncryptionCustomerKeyMD5]; ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

                result = true;
            } else if (mirrorLayout.equals(repoLayout)) {
                result = true;
            } else {
                // process the list
                String[] layouts = mirrorLayout.split(",");
                for (String layout : layouts) {
                    // see if this is a negative match
                    if (layout.length() > 1 && layout.startsWith("!")) {
                        if (layout.substring(1).equals(repoLayout)) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsFavoriteLogCQ.java

            if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
                BoolQueryBuilder builder = regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(),
                        mustNotQuery.getQueryBuilderList(), filterQuery.getQueryBuilderList());
                if (opLambda != null) {
                    opLambda.callback(builder);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 42.7K bytes
    - Viewed (0)
Back to top