Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,607 for if (0.16 sec)

  1. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsBoostDocumentRuleCA.java

            BoostDocumentRuleCQ cq = new BoostDocumentRuleCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                BoostDocumentRuleCA ca = new BoostDocumentRuleCA();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 50.6K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	if ef.CreatedBefore != nil && !obj.ModTime.Before(*ef.CreatedBefore) {
    		return false
    	}
    
    	if len(ef.Tags) > 0 && !obj.DeleteMarker {
    		// Only parse object tags if tags filter is specified.
    		var tagMap map[string]string
    		if len(obj.UserTags) != 0 {
    			t, err := tags.ParseObjectTags(obj.UserTags)
    			if err != nil {
    				return false
    			}
    			tagMap = t.ToMap()
    		}
    
    		for _, kv := range ef.Tags {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. cmd/bucket-lifecycle.go

    	}
    	// Check if bucket exists.
    	if !r.OutputLocation.IsEmpty() {
    		if _, err := objAPI.GetBucketInfo(ctx, r.OutputLocation.S3.BucketName, BucketOptions{}); err != nil {
    			return err
    		}
    		if r.OutputLocation.S3.Prefix == "" {
    			return fmt.Errorf("Prefix is a required parameter in OutputLocation")
    		}
    		if r.OutputLocation.S3.Encryption.EncryptionType != xhttp.AmzEncryptionAES {
    			return NotImplemented{}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  4. cmd/format-erasure_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	migratedVersion, err := formatGetBackendErasureVersion(formatData)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if migratedVersion != formatErasureVersionV3 {
    		t.Fatalf("expected version: %s, got: %s", formatErasureVersionV3, migratedVersion)
    	}
    
    	b, err = os.ReadFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile))
    	if err != nil {
    		t.Fatal(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. istioctl/pkg/multixds/gather.go

    ) (map[string]*discovery.DiscoveryResponse, error) {
    	// If Central Istiod case, just call it
    	if ns == "" {
    		ns = istioNamespace
    	}
    	if ns == istioNamespace {
    		serviceAccount = tokenServiceAccount
    	}
    	if centralOpts.Xds != "" {
    		dialOpts, err := xds.DialOptions(centralOpts, ns, serviceAccount, kubeClient)
    		if err != nil {
    			return nil, err
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  6. cmd/metrics-realtime.go

    	if types == madmin.MetricsNone {
    		return
    	}
    
    	byHostName := globalMinioAddr
    	if len(opts.hosts) > 0 {
    		server := getLocalServerProperty(globalEndpoints, &http.Request{
    			Host: globalLocalNodeName,
    		}, false)
    		if _, ok := opts.hosts[server.Endpoint]; ok {
    			byHostName = server.Endpoint
    		} else {
    			return
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  7. cmd/os-reliable.go

    // this is to ensure that if there is a racy parent directory
    // delete in between we can simply retry the operation.
    func mkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) {
    	if dirPath == "" {
    		return errInvalidArgument
    	}
    
    	if err = checkPathLength(dirPath); err != nil {
    		return err
    	}
    
    	if err = reliableMkdirAll(dirPath, mode, baseDir); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  8. internal/logger/logrotate.go

    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    
    		// This function is a no-op if opts.Compress is false
    		// writes an error in JSON form to stderr, if we cannot
    		// compress.
    		if err := w.compress(); err != nil {
    			msg := fmt.Sprintf("unable to compress log file %v: %v, ignoring and moving on", w.f.Name(), err)
    			stdErrEnc.Encode(&log.Entry{
    				Level:   ErrorKind,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsScheduledJobCQ.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
    - 98.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.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
    - 145.4K bytes
    - Viewed (0)
Back to top