Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 823 for and (0.34 sec)

  1. internal/bucket/replication/and.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package replication
    
    import (
    	"encoding/xml"
    )
    
    // And - a tag to combine a prefix and multiple tags for replication configuration rule.
    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/and.go

    package lifecycle
    
    import (
    	"encoding/xml"
    )
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // And - a tag to combine a prefix and multiple tags for lifecycle configuration rule.
    type And struct {
    	XMLName               xml.Name `xml:"And"`
    	ObjectSizeGreaterThan int64    `xml:"ObjectSizeGreaterThan,omitempty"`
    	ObjectSizeLessThan    int64    `xml:"ObjectSizeLessThan,omitempty"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. clause/expression_test.go

    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"},
    	}, {
    		SQL:          "@@test AND name1 = @name1 AND name2 = @name2 AND name3 = @name1 @notexist",
    		Vars:         []interface{}{sql.Named("name1", "jinzhu"), sql.Named("name2", "jinzhu2")},
    		Result:       "@@test AND name1 = ? AND name2 = ? AND name3 = ? @notexist",
    		ExpectedVars: []interface{}{"jinzhu", "jinzhu2", "jinzhu"},
    	}, {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Aug 10 05:34:33 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  4. misc/cgo/gmp/gmp.go

    	}
    	return +1
    }
    
    // DivModInt sets q = x / y and r = x % y.
    func DivModInt(q, r, x, y *Int) {
    	q.doinit()
    	r.doinit()
    	x.doinit()
    	y.doinit()
    	C.mpz_tdiv_qr(&q.i[0], &r.i[0], &x.i[0], &y.i[0])
    }
    
    // GcdInt sets d to the greatest common divisor of a and b,
    // which must be positive numbers.
    // If x and y are not nil, GcdInt sets x and y such that d = a*x + b*y.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  5. internal/config/errors.go

    	)
    
    	ErrMissingEnvCredentialSecretKey = newErrFn(
    		"Missing credential environment variable, \""+EnvSecretKey+"\"",
    		"Environment variables \""+EnvSecretKey+"\" and \""+EnvAccessKey+"\" are deprecated",
    		`Root user name (access key) and root password (secret key) are expected to be specified via environment variables MINIO_ROOT_USER and MINIO_ROOT_PASSWORD respectively`,
    	)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. internal/kms/context.go

    				dst.WriteByte('r')
    			case '\t':
    				dst.WriteByte('t')
    			default:
    				// This encodes bytes < 0x20 except for \t, \n and \r.
    				// If escapeHTML is set, it also escapes <, >, and &
    				// because they can lead to security holes when
    				// user-controlled strings are rendered into JSON
    				// and served to some browsers.
    				dst.WriteString(`u00`)
    				dst.WriteByte(hexTable[b>>4])
    				dst.WriteByte(hexTable[b&0xF])
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 6K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    	return isXLMetaFormatValid(m.Version, m.Format) &&
    		isXLMetaErasureInfoValid(m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the version string and format style.
    func isXLMetaFormatValid(version, format string) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. clause/where.go

    	}
    
    	clause.Expression = where
    }
    
    func And(exprs ...Expression) Expression {
    	if len(exprs) == 0 {
    		return nil
    	}
    
    	if len(exprs) == 1 {
    		if _, ok := exprs[0].(OrConditions); !ok {
    			return exprs[0]
    		}
    	}
    
    	return AndConditions{Exprs: exprs}
    }
    
    type AndConditions struct {
    	Exprs []Expression
    }
    
    func (and AndConditions) Build(builder Builder) {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users-race_test.go

    	}
    
    	baseTestCases := []TestSuiteCommon{
    		// Init and run test on ErasureSD backend with signature v4.
    		{serverType: "ErasureSD", signer: signerV4},
    		// Init and run test on ErasureSD backend, with tls enabled.
    		{serverType: "ErasureSD", signer: signerV4, secure: true},
    		// Init and run test on Erasure backend.
    		{serverType: "Erasure", signer: signerV4},
    		// Init and run test on ErasureSet backend.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  10. cni/pkg/util/podutil_test.go

    		// the ambient redirection annotation, this annotation should no longer be checked by this function and this case should return 'true'
    		{
    			name: "pod has label to enable ambient mode and annotation to disable ambient redirection",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithAmbientEnabledLabelAndAmbientDisabledAnnotation,
    			},
    			want: false,
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top