Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for typeof (0.26 sec)

  1. cmd/server-main_test.go

    	if err != nil {
    		t.Fatal("Unexpected object layer initialization error", err)
    	}
    
    	_, ok := obj.(*erasureServerPools)
    	if !ok {
    		t.Fatal("Unexpected object layer detected", reflect.TypeOf(obj))
    	}
    
    	// Tests for Erasure object layer initialization.
    
    	// Create temporary backend for the test server.
    	nDisks = 16
    	disks, err = getRandomDisks(nDisks)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. cmd/postpolicyform.go

    	for _, val := range rawPolicy.Conditions {
    		switch condt := val.(type) {
    		case map[string]any: // Handle key:value map types.
    			for k, v := range condt {
    				if !isString(v) { // Pre-check value type.
    					// All values must be of type string.
    					return parsedPolicy, fmt.Errorf("Unknown type %s of conditional field value %s found in POST policy form", reflect.TypeOf(condt).String(), condt)
    				}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. docs/en/docs/how-to/custom-docs-ui-assets.md

    It could start with something like:
    
    ```JavaScript
    /*! For license information please see redoc.standalone.js.LICENSE.txt */
    !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("null")):
    ...
    ```
    
    That confirms that you are being able to serve static files from your app, and that you placed the static files for the docs in the correct place.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. schema/field.go

    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/utils"
    )
    
    // special types' reflect type
    var (
    	TimeReflectType    = reflect.TypeOf(time.Time{})
    	TimePtrReflectType = reflect.TypeOf(&time.Time{})
    	ByteReflectType    = reflect.TypeOf(uint8(0))
    )
    
    type (
    	// DataType GORM data type
    	DataType string
    	// TimeType GORM time type
    	TimeType int64
    )
    
    // GORM time types
    const (
    	UnixTime        TimeType = 1
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  5. src/main/webapp/js/search.js

          if ($info.length > 0) {
            $moreLink.fadeOut(500, function() {
              $info.slideDown("slow");
            });
          }
        }
        return false;
      });
    
      if (typeof $.fn.suggestor === "function") {
        $("#query").suggestor({
          ajaxinfo: {
            url: contextPath + "/api/v1/suggest-words",
            fn: ["_default", "content", "title"],
            num: 10,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. docs/en/docs/js/termynal.js

                const type = line.getAttribute(this.pfx);
                const delay = line.getAttribute(`${this.pfx}-delay`) || this.lineDelay;
    
                if (type == 'input') {
                    line.setAttribute(`${this.pfx}-cursor`, this.cursor);
                    await this.type(line);
                    await this._wait(delay);
                }
    
                else if (type == 'progress') {
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:32:57 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. schema/schema.go

    	callbackTypeAfterFind    callbackType = "AfterFind"
    )
    
    // ErrUnsupportedDataType unsupported data type
    var ErrUnsupportedDataType = errors.New("unsupported data type")
    
    type Schema struct {
    	Name                      string
    	ModelType                 reflect.Type
    	Table                     string
    	PrioritizedPrimaryField   *Field
    	DBNames                   []string
    	PrimaryFields             []*Field
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  8. statement.go

    		default:
    			switch rv := reflect.ValueOf(v); rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				if rv.Len() == 0 {
    					writer.WriteString("(NULL)")
    				} else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) {
    					stmt.Vars = append(stmt.Vars, v)
    					stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    				} else {
    					writer.WriteByte('(')
    					for i := 0; i < rv.Len(); i++ {
    						if i > 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 any) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    // TestServer encapsulates an instantiation of a MinIO instance with a temporary backend.
    // Example usage:
    //
    //	s := StartTestServer(t,"Erasure")
    //	defer s.Stop()
    type TestServer struct {
    	Root         string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  10. cmd/object-api-multipart_test.go

    			}
    			// Failed as expected, but does it fail for the expected reason.
    			if actualErr != nil && !testCase.shouldPass {
    				if reflect.TypeOf(actualErr) != reflect.TypeOf(testCase.expectedErr) {
    					t.Errorf("%s: Expected to fail with error \"%s\", but instead failed with error \"%s\"", instanceType, testCase.expectedErr, actualErr)
    				}
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
Back to top