Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 702 for switch_a (0.12 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-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            @Override
            public ModelSource resolveModel(org.apache.maven.model.Dependency dependency)
                    throws UnresolvableModelException {
                switch (dependency.getManagementKey()) {
                    case BASE1_ID:
                        return new StringModelSource(BASE1);
                    case BASE2_ID:
                        return new StringModelSource(BASE2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      public NetworkEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.network = createNetwork(edgeType);
      }
    
      private static MutableNetwork<Integer, String> createNetwork(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return NetworkBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return NetworkBuilder.directed().allowsSelfLoops(true).build();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top