Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,414 for base (0.02 seconds)

  1. internal/event/target/postgresql.go

    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    	cleaned := strings.Map(func(r rune) rune {
    		switch {
    		case unicode.IsLetter(r):
    			return 'a'
    		case unicode.IsDigit(r):
    			return '0'
    		case r == '_', r == '$':
    			return r
    		default:
    			valid = false
    			return -1
    		}
    	}, name)
    
    	if valid {
    		// check for simple name or quoted name
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. tests/count_test.go

    		t.Errorf("count with join, got error: %v, count %v", err, count)
    	}
    
    	var count6 int64
    	if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select(
    		"(CASE WHEN name=? THEN ? ELSE ? END) as name", "count-1", "main", "other",
    	).Count(&count6).Find(&users).Error; err != nil || count6 != 3 {
    		t.Fatalf("Count should work, but got err %v", err)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Sep 08 09:19:22 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        public Nature getNature() {
            if (metadata instanceof RepositoryMetadata repositoryMetadata) {
                return switch (repositoryMetadata.getNature()) {
                    case RepositoryMetadata.RELEASE_OR_SNAPSHOT -> Nature.RELEASE_OR_SNAPSHOT;
                    case RepositoryMetadata.SNAPSHOT -> Nature.SNAPSHOT;
                    default -> Nature.RELEASE;
                };
            } else {
                return Nature.RELEASE;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

                }
                return false;
            }
            if (test instanceof NodeTypeTest nodeTypeTest) {
                return switch (nodeTypeTest.getNodeType()) {
                    case Compiler.NODE_TYPE_NODE -> true;
                    case Compiler.NODE_TYPE_TEXT -> node.value() != null;
                    default -> false;
                };
            }
            return false;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/resources/dag.txt

    quarkus/independent-projects/tools/devtools-common/pom.xml
    	quarkus/independent-projects/tools/registry-client/pom.xml
    	quarkus/independent-projects/tools/utilities/pom.xml
    	quarkus/independent-projects/tools/base-codestarts/pom.xml
    	quarkus/independent-projects/tools/codestarts/pom.xml
    quarkus/extensions/info/runtime-spi/pom.xml
    	quarkus/core/runtime/pom.xml
    quarkus/integration-tests/hibernate-reactive-mysql/pom.xml
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 224K bytes
    - Click Count (0)
  6. cmd/erasure-healing-common_test.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"os"
    	"path/filepath"
    	"runtime"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    // Returns the latest updated FileInfo files and error in case of failure.
    func getLatestFileInfo(ctx context.Context, partsMetadata []FileInfo, defaultParityCount int, errs []error) (FileInfo, error) {
    	// There should be at least half correct entries, if not return failure
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  7. helm-releases/minio-4.0.15.tgz

    support in the underlying infrastructure. (We recommend using <https://github.com/minio/direct-csi>) - Use Kubernetes version v1.19 and later for best experience. ## Configure MinIO Helm repo ```bash helm repo add minio https://charts.min.io/ ``` ### Installing the Chart Install this chart using: ```bash helm install --namespace minio --set rootUser=rootuser,rootPassword=rootpass123 --generate-name minio/minio ``` The command deploys MinIO on the Kubernetes cluster in the default configuration. The...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 21 11:07:01 GMT 2022
    - 20K bytes
    - Click Count (0)
  8. callbacks/delete.go

    		for column, v := range selectColumns {
    			if !v {
    				continue
    			}
    
    			rel, ok := db.Statement.Schema.Relationships.Relations[column]
    			if !ok {
    				continue
    			}
    
    			switch rel.Type {
    			case schema.HasOne, schema.HasMany:
    				queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue)
    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  9. internal/bucket/bandwidth/monitor.go

    				CurrentBandwidthInBytesPerSecond: currBw,
    			}
    		}
    		m.tlock.RUnlock()
    	}
    	return report
    }
    
    func (m *Monitor) trackEWMA() {
    	for {
    		select {
    		case <-m.bucketMovingAvgTicker.C:
    			m.updateMovingAvg()
    		case <-m.ctx.Done():
    			return
    		}
    	}
    }
    
    func (m *Monitor) updateMovingAvg() {
    	m.mlock.Lock()
    	defer m.mlock.Unlock()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. cmd/lock-rest-client.go

    	r, err := h.Call(ctx, c.connection, args)
    	if err != nil {
    		return false, err
    	}
    	defer h.PutResponse(r)
    	ok = r.Code == dsync.RespOK
    	switch r.Code {
    	case dsync.RespLockConflict, dsync.RespLockNotFound, dsync.RespOK:
    	// no error
    	case dsync.RespLockNotInitialized:
    		err = errLockNotInitialized
    	default:
    		err = errors.New(r.Err)
    	}
    	return ok, err
    }
    
    // RLock calls read lock REST API.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 29 18:10:04 GMT 2024
    - 3.3K bytes
    - Click Count (0)
Back to Top