Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 584 for Ok (0.01 sec)

  1. tests/migrate_test.go

    				}
    				if v, ok := columnType.Comment(); !ok || v != "my age" {
    					t.Fatalf("column age comment should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    			case "code":
    				if v, ok := columnType.Unique(); !ok || !v {
    					t.Fatalf("column code unique should be correct, name: %v, column: %#v", columnType.Name(),
    						columnType)
    				}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    		r.srUpdate(rs)
    	}
    
    	r.Lock()
    	defer r.Unlock()
    
    	// update bucket replication in-memory stats
    	bs, ok := r.Cache[bucket]
    	if !ok {
    		bs = newBucketReplicationStats()
    		r.Cache[bucket] = bs
    	}
    	b, ok := bs.Stats[ri.Arn]
    	if !ok {
    		b = &BucketReplicationStat{
    			XferRateLrg: newXferStats(),
    			XferRateSml: newXferStats(),
    		}
    		bs.Stats[ri.Arn] = b
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwks_test.go

    		if err != nil {
    			t.Fatalf("Failed to decode key %d: %v", ii, err)
    		}
    	}
    
    	//nolint:gocritic
    	if key0, ok := keys[0].(*ecdsa.PublicKey); !ok {
    		t.Fatalf("Expected ECDSA key[0], got %T", keys[0])
    	} else if key1, ok := keys[1].(*rsa.PublicKey); !ok {
    		t.Fatalf("Expected RSA key[1], got %T", keys[1])
    	} else if key0.Curve != elliptic.P256() {
    		t.Fatal("Key[0] is not using P-256 curve")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  4. internal/bpool/pool.go

    // If New is not set Get may return the zero value of T.
    type Pool[T any] struct {
    	New func() T
    	p   sync.Pool
    }
    
    // Get will retuen a new T
    func (p *Pool[T]) Get() T {
    	v, ok := p.p.Get().(T)
    	if ok {
    		return v
    	}
    	if p.New == nil {
    		var t T
    		return t
    	}
    	return p.New()
    }
    
    // Put a used T.
    func (p *Pool[T]) Put(t T) {
    	p.p.Put(t)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    	// Single calls do not support pinging.
    	if v, ok := c.inStream.Load(m.MuxID); ok {
    		pong := v.ping(m.Seq)
    		pong.T = ping.T
    		gridLogIf(ctx, c.queueMsg(m, &pong))
    	} else {
    		pong := pongMsg{NotFound: true, T: ping.T}
    		gridLogIf(ctx, c.queueMsg(m, &pong))
    	}
    }
    
    func (c *Connection) handleDisconnectClientMux(m message) {
    	if v, ok := c.outgoing.Load(m.MuxID); ok {
    		if m.Flags&FlagPayloadIsErr != 0 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
  6. internal/config/errors-utils.go

    	}
    
    	// If this is already a Err, do nothing
    	if e, ok := err.(Err); ok {
    		return e
    	}
    
    	// Show a generic message for known golang errors
    	if errors.Is(err, syscall.EADDRINUSE) {
    		return ErrPortAlreadyInUse(err).Msg("Specified port is already in use")
    	} else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) {
    		if netErr, ok := err.(*net.OpError); ok {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. internal/logger/audit.go

    	}
    	return context.WithValue(ctx, contextAuditKey, audit)
    }
    
    // GetAuditEntry returns Audit entry if set.
    func GetAuditEntry(ctx context.Context) *audit.Entry {
    	if ctx != nil {
    		r, ok := ctx.Value(contextAuditKey).(*audit.Entry)
    		if ok {
    			return r
    		}
    		r = &audit.Entry{
    			Version:      internalAudit.Version,
    			DeploymentID: xhttp.GlobalDeploymentID,
    			Time:         time.Now().UTC(),
    		}
    		return r
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. internal/logger/logonce.go

    	if err == nil {
    		return
    	}
    
    	nerr := unwrapErrs(err)
    	l.Lock()
    	shouldLog := true
    	prev, ok := l.IDMap[id]
    	if !ok {
    		l.IDMap[id] = onceErr{
    			Err:   nerr,
    			Count: 1,
    		}
    	} else if prev.Err.Error() == nerr.Error() {
    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

                    .stream()
                    .map(stopwordsItem -> createEditBody(stopwordsItem, dictId))
                    .collect(Collectors.toList())).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Retrieves a specific stopwords dictionary item by ID.
         *
         * @param dictId the dictionary ID
         * @param id the ID of the stopwords item to retrieve
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. clause/insert.go

    		builder.WriteQuoted(currentTable)
    	} else {
    		builder.WriteQuoted(insert.Table)
    	}
    }
    
    // MergeClause merge insert clause
    func (insert Insert) MergeClause(clause *Clause) {
    	if v, ok := clause.Expression.(Insert); ok {
    		if insert.Modifier == "" {
    			insert.Modifier = v.Modifier
    		}
    		if insert.Table.Name == "" {
    			insert.Table = v.Table
    		}
    	}
    	clause.Expression = insert
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Mar 09 09:07:00 UTC 2020
    - 767 bytes
    - Viewed (0)
Back to top