Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 757 for switches (0.09 sec)

  1. utils/utils.go

    func ToStringKey(values ...interface{}) string {
    	results := make([]string, len(values))
    
    	for idx, value := range values {
    		if valuer, ok := value.(driver.Valuer); ok {
    			value, _ = valuer.Value()
    		}
    
    		switch v := value.(type) {
    		case string:
    			results[idx] = v
    		case []byte:
    			results[idx] = string(v)
    		case uint:
    			results[idx] = strconv.FormatUint(uint64(v), 10)
    		default:
    			results[idx] = "nil"
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml

        ]]></configuration>
          <description>
            <![CDATA[
          Flags the system as offline, to prevent accessing the network to resolve artifacts or execute plugins.
    
          NOTE: It's also possible to switch to offline mode on a per-build basis, using the '-o' command-line option.
        ]]></description>
        </expression>
        <expression>
          <syntax>settings.interactiveMode</syntax>
          <configuration>
            <![CDATA[
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

            switch ( this.opCode ) {
            case QUERY:
                opCodeString = "QUERY";
                break;
            case WACK:
                opCodeString = "WACK";
                break;
            default:
                opCodeString = Integer.toString(this.opCode);
                break;
            }
            switch ( this.resultCode ) {
            case FMT_ERR:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

                    recordClassString;
    
            switch( opCode ) {
                case QUERY:
                    opCodeString = "QUERY";
                    break;
                case WACK:
                    opCodeString = "WACK";
                    break;
                default:
                    opCodeString = Integer.toString( opCode );
                    break;
            }
            switch( resultCode ) {
                case 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)
  5. src/main/webapp/js/admin/plugins/timepicker/bootstrap-timepicker.min.js

    &&this.position<=11&&this.highlightMeridian()},highlightNextUnit:function(){switch(this.highlightedUnit){case"hour":this.highlightMinute();break;case"minute":this.showSeconds?this.highlightSecond():this.showMeridian?this.highlightMeridian():this.highlightHour();break;case"second":this.showMeridian?this.highlightMeridian():this.highlightHour();break;case"meridian":this.highlightHour()}},highlightPrevUnit:function(){switch(this.highlightedUnit){case"hour":this.showMeridian?this.highlightMeridian()...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 04:21:06 UTC 2020
    - 18.2K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock.go

    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    	case "GOVERNANCE":
    		mode = RetGovernance
    	case "COMPLIANCE":
    		mode = RetCompliance
    	}
    	return mode
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. cmd/batch-rotate_gen.go

    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Type":
    			{
    				var zb0002 string
    				zb0002, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Type")
    					return
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  8. callbacks/create.go

    		}
    
    		// append @id column with value for auto-increment primary key
    		// the @id value is correct, when: 1. without setting auto-increment primary key, 2. database AutoIncrementIncrement = 1
    		switch values := db.Statement.Dest.(type) {
    		case map[string]interface{}:
    			values[pkFieldName] = insertID
    		case *map[string]interface{}:
    			(*values)[pkFieldName] = insertID
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. internal/s3select/json/args.go

    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    	parsedArgs.ContentType = strings.ToLower(parsedArgs.ContentType)
    	switch parsedArgs.ContentType {
    	case document, lines:
    	default:
    		return errInvalidJSONType(fmt.Errorf("invalid ContentType '%v'", parsedArgs.ContentType))
    	}
    
    	*args = ReaderArgs(parsedArgs)
    	args.unmarshaled = true
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    		[case(1)] DfsEnumArray1 *info1;
    		[case(3)] DfsEnumArray3 *info3;
    		[case(200)] DfsEnumArray200 *info200;
    		[case(300)] DfsEnumArray300 *info300;
    	} DfsEnumInfo;
    
    	typedef struct {
    		uint32_t level,
    		[switch_is(level)] DfsEnumInfo e;
    	} DfsEnumStruct;
    
    	[op(0x15)]
    	int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name,
    			[in] uint32_t level,
    			[in] uint32_t prefmaxlen,
    			[in,out,unique] DfsEnumStruct *info,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top