Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 4,908 for if (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tests/scan_test.go

    			}
    		}
    		if info.Address.ID == address1.ID {
    			addressMatched = true
    			if info.Address.Name != address1.Name {
    				t.Errorf("Failed, expected %v, got %v", address1.Name, info.Address.Name)
    			}
    		}
    	}
    
    	if !personMatched {
    		t.Errorf("Failed, no person matched")
    	}
    	if !addressMatched {
    		t.Errorf("Failed, no address matched")
    	}
    
    	personDupField := Person{ID: person1.ID}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  6. callbacks/update.go

    	return func(db *gorm.DB) {
    		if db.Error != nil {
    			return
    		}
    
    		if db.Statement.Schema != nil {
    			for _, c := range db.Statement.Schema.UpdateClauses {
    				db.Statement.AddClause(c)
    			}
    		}
    
    		if db.Statement.SQL.Len() == 0 {
    			db.Statement.SQL.Grow(180)
    			db.Statement.AddClauseIfNotExists(clause.Update{})
    			if _, ok := db.Statement.Clauses["SET"]; !ok {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 05:44:55 GMT 2024
    - 9.4K bytes
    - Viewed (1)
  7. cmd/storage-rest-common_gen_test.go

    	v := nsScannerOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  8. internal/bucket/bandwidth/monitor_gen_test.go

    	v := BucketBandwidthReport{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt

            val descriptor = getSymbolDescriptor(symbol) as? PropertyDescriptor
            if (descriptor is SyntheticJavaPropertyDescriptor) {
                return descriptor.setMethod?.name
            }
    
            if (descriptor != null) {
                if (!descriptor.isVar) {
                    return null
                }
    
                if (descriptor.hasJvmFieldAnnotation()) return descriptor.name
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Jun 08 13:34:50 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  10. internal/s3select/sql/analysis.go

    		result.combine(e.Like.Pattern.analyze(s))
    		if e.Like.EscapeChar != nil {
    			result.combine(e.Like.EscapeChar.analyze(s))
    		}
    	default:
    		result = qProp{err: errUnexpectedInvalidNode}
    	}
    	return
    }
    
    func (e *In) analyze(s *Select) (result qProp) {
    	switch {
    	case e.JPathExpr != nil:
    		// Check if the path expression is valid
    		if len(e.JPathExpr.PathExpr) > 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
Back to top