Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 584 for Ok (0.12 sec)

  1. cmd/metrics-v3-types.go

    	desc, ok := m.descriptors[name]
    	if !ok {
    		panic(fmt.Sprintf("metric has no description: %s", name))
    	}
    
    	if len(labels)%2 != 0 {
    		panic("labels must be a list of ordered key-value pairs")
    	}
    
    	validLabels := desc.getLabelSet()
    	labelMap := make(map[string]string, len(labels)/2)
    	for i := 0; i < len(labels); i += 2 {
    		if _, ok := validLabels[labels[i]]; !ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Feb 28 19:33:08 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

        @Execute
        public JsonResponse<ApiResult> get$installed() {
            final List<Map<String, String>> list = getAllInstalledArtifacts();
            return asJson(new ApiResult.ApiPluginResponse().plugins(list).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Retrieves the list of available plugins for installation.
         *
         * @return JSON response containing available plugin list
         */
        // GET /api/admin/plugin/available
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    // keys which are treated as metadata but are reserved for internal use
    // and must not set by clients
    func containsReservedMetadata(header http.Header) bool {
    	for key := range header {
    		if _, ok := validSSEReplicationHeaders[key]; ok {
    			return false
    		}
    		if stringsHasPrefixFold(key, ReservedMetadataPrefix) {
    			return true
    		}
    	}
    	return false
    }
    
    // isHTTPHeaderSizeTooLarge returns true if the provided
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  4. cmd/erasure-decode.go

    		return
    	}
    	// Copy so we don't change our input.
    	tmp := make([]io.ReaderAt, len(p.orgReaders))
    	copy(tmp, p.orgReaders)
    	p.readers = tmp
    	// next is the next non-preferred index.
    	next := 0
    	for i, ok := range prefer {
    		if !ok || p.readers[i] == nil {
    			continue
    		}
    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. cmd/config-current.go

    	}
    
    	subSys = subSystemValue[0]
    
    	subSysHelp, ok := config.HelpSubSysMap[""].Lookup(subSys)
    	if !ok {
    		subSysHelp, ok = config.HelpDeprecatedSubSysMap[subSys]
    		if !ok {
    			return Help{}, config.Errorf("unknown sub-system %s", subSys)
    		}
    	}
    
    	h, ok := config.HelpSubSysMap[subSys]
    	if !ok {
    		return Help{}, config.Errorf("unknown sub-system %s", subSys)
    	}
    	if key != "" {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  6. cmd/metrics.go

    	gatherers := prometheus.Gatherers{
    		prometheus.DefaultGatherer,
    		registry,
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    			tc.FuncName = "handler.MetricsLegacy"
    			tc.ResponseRecorder.LogErrBody = true
    		}
    
    		mfs, err := gatherers.Gather()
    		if err != nil {
    			if len(mfs) == 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  7. cmd/data-usage-cache.go

    func (d *dataUsageCache) find(path string) *dataUsageEntry {
    	due, ok := d.Cache[hashPath(path).Key()]
    	if !ok {
    		return nil
    	}
    	return &due
    }
    
    // isCompacted returns whether an entry is compacted.
    // Returns false if not found.
    func (d *dataUsageCache) isCompacted(h dataUsageHash) bool {
    	due, ok := d.Cache[h.Key()]
    	if !ok {
    		return false
    	}
    	return due.Compacted
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 2. Check new user appears in listing
    	usersMap, err := s.adm.ListUsers(ctx)
    	if err != nil {
    		c.Fatalf("error listing: %v", err)
    	}
    	v, ok := usersMap[accessKey]
    	if !ok {
    		c.Fatalf("user not listed: %s", accessKey)
    	}
    	c.Assert(v.Status, madmin.AccountEnabled)
    
    	// 3. Associate policy and check that user can access
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 50.6K bytes
    - Viewed (0)
  9. callbacks/row.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    func RowQuery(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    		if db.DryRun || db.Error != nil {
    			return
    		}
    
    		if isRows, ok := db.Get("rows"); ok && isRows.(bool) {
    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Feb 08 05:40:41 UTC 2023
    - 581 bytes
    - Viewed (0)
  10. callbacks/transaction.go

    			tx.Error = nil
    		} else {
    			db.Error = tx.Error
    		}
    	}
    }
    
    func CommitOrRollbackTransaction(db *gorm.DB) {
    	if !db.Config.SkipDefaultTransaction {
    		if _, ok := db.InstanceGet("gorm:started_transaction"); ok {
    			if db.Error != nil {
    				db.Rollback()
    			} else {
    				db.Commit()
    			}
    
    			db.Statement.ConnPool = db.ConnPool
    		}
    	}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Nov 29 01:33:20 UTC 2021
    - 675 bytes
    - Viewed (0)
Back to top