Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 584 for Ok (0.01 sec)

  1. schema/serializer_test.go

    			if tt.want == nil {
    				t.Fatalf("UnixSecondSerializer.Value() = %v, want nil", got)
    			}
    			if got == nil {
    				t.Fatalf("UnixSecondSerializer.Value() = nil, want %v", tt.want)
    			}
    			if gotTime, ok := got.(time.Time); !ok {
    				t.Errorf("UnixSecondSerializer.Value() returned %T, expected time.Time", got)
    			} else if !tt.want.(time.Time).Equal(gotTime) {
    				t.Errorf("UnixSecondSerializer.Value() = %v, want %v", got, tt.want)
    			}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:29:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. tests/embedded_struct_test.go

    	b, err := json.Marshal(c)
    	return string(b[:]), err
    }
    
    func (c *Content) Scan(src interface{}) error {
    	var value Content
    	str, ok := src.(string)
    	if !ok {
    		byt, ok := src.([]byte)
    		if !ok {
    			return errors.New("Embedded.Scan byte assertion failed")
    		}
    		if err := json.Unmarshal(byt, &value); err != nil {
    			return err
    		}
    	} else {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. internal/s3select/json/preader.go

    		if r.err != nil {
    			return nil, r.err
    		}
    		// Move to next block
    		item, ok := <-r.queue
    		if !ok {
    			r.err = io.EOF
    			return nil, r.err
    		}
    		r.kvDstPool.Put(r.current)
    		r.current = <-item.dst
    		r.err = item.err
    		r.recordsRead = 0
    	}
    	kvRecord := r.current[r.recordsRead]
    	r.recordsRead++
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.KVS = kvRecord
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Decrypt.java

    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.BAD_OPERATION;
    import static org.apache.maven.cling.invoker.mvnenc.EncryptInvoker.OK;
    
    /**
     * The "decrypt" goal.
     */
    @Singleton
    @Named("decrypt")
    public class Decrypt extends ConfiguredGoalSupport {
        @Inject
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                    .stream()
                    .map(protwordsItem -> createEditBody(protwordsItem, dictId))
                    .collect(Collectors.toList())).status(ApiResult.Status.OK).result());
        }
    
        /**
         * Retrieve a single character mapping entry by ID for the specified dictionary.
         *
         * @param dictId identifier of the dictionary
         * @param id identifier of the mapping entry
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. clause/clause_test.go

    		stmt          = gorm.Statement{DB: db, Table: user.Table, Schema: user, Clauses: map[string]clause.Clause{}}
    	)
    
    	for _, c := range clauses {
    		if _, ok := buildNamesMap[c.Name()]; !ok {
    			buildNames = append(buildNames, c.Name())
    			buildNamesMap[c.Name()] = true
    		}
    
    		stmt.AddClause(c)
    	}
    
    	stmt.Build(buildNames...)
    
    	if strings.TrimSpace(stmt.SQL.String()) != result {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jun 02 02:50:38 UTC 2020
    - 1012 bytes
    - Viewed (0)
  7. clause/select.go

    			}
    			builder.WriteQuoted(column)
    		}
    	} else {
    		builder.WriteByte('*')
    	}
    }
    
    func (s Select) MergeClause(clause *Clause) {
    	if s.Expression != nil {
    		if s.Distinct {
    			if expr, ok := s.Expression.(Expr); ok {
    				expr.SQL = "DISTINCT " + expr.SQL
    				clause.Expression = expr
    				return
    			}
    		}
    
    		clause.Expression = s.Expression
    	} else {
    		clause.Expression = s
    	}
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Jul 14 07:51:24 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/labeltype/ApiAdminLabeltypeAction.java

                            .total(pager.getAllRecordCount())
                            .status(ApiResult.Status.OK)
                            .result());
        }
    
        /**
         * Retrieves a specific label type setting by ID.
         *
         * @param id the ID of the label type setting to retrieve
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. cmd/admin-bucket-handlers.go

    		if _, ok := bucketMap[bucket]; !ok {
    			err = objectAPI.MakeBucket(ctx, bucket, MakeBucketOptions{
    				ForceCreate: true, // ignore if it already exists
    			})
    			if err != nil {
    				rpt.SetStatus(bucket, "", err)
    				continue
    			}
    			v, _ := globalBucketMetadataSys.Get(bucket)
    			bucketMap[bucket] = &v
    		}
    		if _, ok := bucketMap[bucket]; !ok {
    			continue
    		}
    		switch fileName {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 33.3K bytes
    - Viewed (0)
  10. docs/iam/identity-management-plugin.md

    | token          | string     | Token from the AssumeRoleWithCustomToken call for external verification |
    
    ### Response
    
    If the token is valid and access is approved, the plugin must return a `200` (OK) HTTP status code.
    
    A `200 OK` Response should have `application/json` content-type and body with the following structure:
    
    ```json
    {
        "user": <string>,
        "maxValiditySeconds": <integer>,
        "claims": <key-value-pairs>
    }
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 4.2K bytes
    - Viewed (0)
Back to top