Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for isSame (0.18 sec)

  1. istioctl/pkg/writer/envoy/configdump/cluster.go

    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(clusters[i].Name)
    		jDirection, jSubset, jName, jPort := safelyParseSubsetKey(clusters[j].Name)
    		if iName == jName {
    			if iSubset == jSubset {
    				if iPort == jPort {
    					return iDirection < jDirection
    				}
    				return iPort < jPort
    			}
    			return iSubset < jSubset
    		}
    		return iName < jName
    	})
    	return clusters, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. internal/config/notify/legacy.go

    	return nil
    }
    
    // SetNotifyES - helper for config migration from older config.
    func SetNotifyES(s config.Config, esName string, cfg target.ElasticsearchArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    	s[config.NotifyESSubSys][esName] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. cmd/signature-v4.go

    	encodedQuery := query.Encode()
    
    	// Verify if date query is same.
    	if req.Form.Get(xhttp.AmzDate) != query.Get(xhttp.AmzDate) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if expires query is same.
    	if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) {
    		return ErrSignatureDoesNotMatch
    	}
    	// Verify if signed headers query is same.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/asm/doc.go

    object file can then be combined with other objects into a package archive.
    
    # Command Line
    
    Usage:
    
    	go tool asm [flags] file
    
    The specified file must be a Go assembly file.
    The same assembler is used for all target operating systems and architectures.
    The GOOS and GOARCH environment variables set the desired target.
    
    Flags:
    
    	-D name[=value]
    		Predefine symbol name with an optional simple value.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. internal/kms/kes.go

    			for i, b := range certificate.Certificate {
    				if !sameCert {
    					break
    				}
    				sameCert = sameCert && bytes.Equal(b, prevCertificate.Certificate[i])
    			}
    			// Do not reload if its the same cert as before.
    			if !sameCert {
    				client := kes.NewClientWithConfig("", &tls.Config{
    					MinVersion:         tls.VersionTLS12,
    					Certificates:       []tls.Certificate{certificate},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    				writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrPreconditionFailed), r.URL)
    				return true
    			}
    		}
    	}
    
    	// x-amz-copy-source-if-match : Return the object only if its entity tag (ETag) is the
    	// same as the one specified; otherwise return a 412 (precondition failed).
    	ifMatchETagHeader := r.Header.Get(xhttp.AmzCopySourceIfMatch)
    	if ifMatchETagHeader != "" {
    		if !isETagEqual(objInfo.ETag, ifMatchETagHeader) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. schema/relationship.go

    		}
    
    		if primaryKeyField == nil {
    			schema.err = fmt.Errorf("invalid polymorphic type %v for %v on field %s, missing primaryKey field",
    				relation.FieldSchema, schema, field.Name)
    			return
    		}
    
    		// use same data type for foreign keys
    		if copyableDataType(primaryKeyField.DataType) {
    			relation.Polymorphic.PolymorphicID.DataType = primaryKeyField.DataType
    		}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. internal/config/errors.go

    		"Please ensure MinIO binary has write permissions for the backend",
    		`Verify if MinIO binary is running as the same user who has write permissions for the backend`,
    	)
    
    	ErrPortAlreadyInUse = newErrFn(
    		"Port is already in use",
    		"Please ensure no other program uses the same address/port",
    		"",
    	)
    
    	ErrPortAccess = newErrFn(
    		"Unable to use specified port",
    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)
  9. cmd/metacache-walk.go

    					s.walkReadMu.Unlock()
    				}
    				diskHealthCheckOK(ctx, err)
    				if err != nil {
    					// It is totally possible that xl.meta was overwritten
    					// while being concurrently listed at the same time in
    					// such scenarios the 'xl.meta' might get truncated
    					if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) {
    						internalLogOnceIf(ctx, err, "metacache-walk-read-metadata")
    					}
    					continue
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/endpoint.go

    		iDirection, iSubset, iName, iPort := safelyParseSubsetKey(endpoints[i].ClusterName)
    		jDirection, jSubset, jName, jPort := safelyParseSubsetKey(endpoints[j].ClusterName)
    		if iName == jName {
    			if iSubset == jSubset {
    				if iPort == jPort {
    					return iDirection < jDirection
    				}
    				return iPort < jPort
    			}
    			return iSubset < jSubset
    		}
    		return iName < jName
    	})
    	return endpoints, nil
    }
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top