Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,836 for Defaults (0.09 sec)

  1. src/main/java/jcifs/netbios/NameServicePacket.java

                break;
            default:
                resultCodeString = "0x" + Hexdump.toHexString(this.resultCode, 1);
                break;
            }
            switch ( this.questionType ) {
            case NB:
                questionTypeString = "NB";
                break;
            case NBSTAT:
                questionTypeString = "NBSTAT";
                break;
            default:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            switch( opCode ) {
                case QUERY:
                    opCodeString = "QUERY";
                    break;
                case WACK:
                    opCodeString = "WACK";
                    break;
                default:
                    opCodeString = Integer.toString( opCode );
                    break;
            }
            switch( resultCode ) {
                case FMT_ERR:
                    resultCodeString = "FMT_ERR";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.4K bytes
    - Viewed (0)
  3. internal/lock/lock_windows.go

    	case syscall.O_WRONLY | syscall.O_CREAT | syscall.O_APPEND:
    		access = syscall.FILE_APPEND_DATA
    	default:
    		return nil, fmt.Errorf("Unsupported flag (%d)", flag)
    	}
    
    	var createflag uint32
    	switch {
    	case flag&syscall.O_CREAT == syscall.O_CREAT:
    		createflag = syscall.OPEN_ALWAYS
    	default:
    		createflag = syscall.OPEN_EXISTING
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. docs_src/header_params/tutorial002_py310.py

    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        strange_header: str | None = Header(default=None, convert_underscores=False),
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 228 bytes
    - Viewed (0)
  5. cmd/data-usage-cache_gen.go

    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumObjects")
    							return
    						}
    					default:
    						err = dc.Skip()
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001)
    							return
    						}
    					}
    				}
    				z.Tiers[za0001] = za0002
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  6. gorm.go

    			return
    		}
    	}
    
    	if config.NamingStrategy == nil {
    		config.NamingStrategy = schema.NamingStrategy{IdentifierMaxLength: 64} // Default Identifier length is 64
    	}
    
    	if config.Logger == nil {
    		config.Logger = logger.Default
    	}
    
    	if config.NowFunc == nil {
    		config.NowFunc = func() time.Time { return time.Now().Local() }
    	}
    
    	if dialector != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. schema/schema.go

    			switch methodValue.Type().String() {
    			case "func(*gorm.DB) error": // TODO hack
    				reflect.Indirect(reflect.ValueOf(schema)).FieldByName(string(cbName)).SetBool(true)
    			default:
    				logger.Default.Warn(context.Background(), "Model %v don't match %vInterface, should be `%v(*gorm.DB) error`. Please see https://gorm.io/docs/hooks.html", schema, cbName, cbName)
    			}
    		}
    	}
    
    	// Cache the schema
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. cmd/bucket-replication-utils_gen.go

    							return
    						}
    					default:
    						err = dc.Skip()
    						if err != nil {
    							err = msgp.WrapError(err, "Entries", za0001)
    							return
    						}
    					}
    				}
    				z.Entries[za0001] = za0002
    			}
    		case "v":
    			z.Version, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		default:
    			err = dc.Skip()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  9. docs_src/query_params_str_validations/tutorial011_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Union[list[str], None] = Query(default=None)):
        query_items = {"q": q}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 221 bytes
    - Viewed (0)
  10. internal/config/callhome/callhome.go

    // Callhome related keys
    const (
    	Enable    = "enable"
    	Frequency = "frequency"
    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Frequency,
    		Value: "24h",
    	},
    }
    
    // callhomeCycleDefault is the default interval between two callhome cycles (24hrs)
    const callhomeCycleDefault = 24 * time.Hour
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top