Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,332 for else (0.2 sec)

  1. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Integer) {
                return (Integer) o;
            } else if (o instanceof Number) {
                return ((Number) o).intValue();
            } else if (o instanceof String) {
                return toInteger((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. helm/minio/templates/_helpers.tpl

    .Capabilities.KubeVersion.GitVersion -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}} {{- print "networking.k8s.io/v1beta1" -}} {{- else -}} {{- print "networking.k8s.io/v1" -}} {{- end -}} {{- end -}} {{/* Determine secret name. */}} {{- define "minio.secretName" -}} {{- if .Values.existingSecret -}} {{- .Values.existingSecret }} {{- else -}} {{- include "minio.fullname" . -}} {{- end -}} {{- end -}} {{/* Determine name for scc role and rolebinding...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 17 06:04:15 GMT 2023
    - 6.5K bytes
    - Viewed (2)
  3. clause/expression.go

    							}
    						}
    					default:
    						builder.AddVar(builder, expr.Vars[idx])
    					}
    				}
    			} else {
    				builder.AddVar(builder, expr.Vars[idx])
    			}
    
    			idx++
    		} else if inName {
    			name = append(name, v)
    		} else {
    			if v == '(' {
    				afterParenthesis = true
    			} else {
    				afterParenthesis = false
    			}
    			builder.WriteByte(v)
    		}
    	}
    
    	if inName {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Oct 10 06:45:48 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. tests/gorm_test.go

    		} else if results.RowsAffected != 1 {
    			t.Fatalf("rows affected expects: %v, got %v", 1, results.RowsAffected)
    		} else if u1.ID == 0 {
    			t.Fatalf("ID expects : not equal 0, got %v", u1.ID)
    		}
    
    		got := user{}
    		results := DB.First(&got, "id = ?", u1.ID)
    		if results.Error != nil {
    			t.Fatalf("errors happened on first: %v", results.Error)
    		} else if results.RowsAffected != 1 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Jun 01 07:22:21 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Long) {
                return (Long) o;
            } else if (o instanceof Number) {
                return ((Number) o).longValue();
            } else if (o instanceof String) {
                return toLong((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. logger/sql.go

    				vars[idx] = nullStr
    			} else if valuer, ok := v.(driver.Valuer); ok {
    				v, _ = valuer.Value()
    				convertParams(v, idx)
    			} else if rv.Kind() == reflect.Ptr && !rv.IsZero() {
    				convertParams(reflect.Indirect(rv).Interface(), idx)
    			} else if isNumeric(rv.Kind()) {
    				if rv.CanInt() || rv.CanUint() {
    					vars[idx] = fmt.Sprintf("%d", rv.Interface())
    				} else {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Byte) {
                return (Byte) o;
            } else if (o instanceof Number) {
                return ((Number) o).byteValue();
            } else if (o instanceof String) {
                return toByte((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

              c.isSurrogate() -> {
                val low = (if (i + 1 < limit) this[i + 1] else '\u0000')
                if (c.isLowSurrogate() || !low.isLowSurrogate()) {
                  '?'.code
                } else {
                  i++
                  0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff))
                }
              }
    
              else -> c.code
            }
          i++
        }
        return result
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbException.java

                    if( errcode > NT_STATUS_CODES[mid] ) {
                        min = mid + 1;
                    } else if( errcode < NT_STATUS_CODES[mid] ) {
                        max = mid - 1;
                    } else {
                        return NT_STATUS_MESSAGES[mid];
                    }
                }
            } else {
                int min = 0;
                int max = DOS_ERROR_CODES.length - 1;
    
                while( max >= min ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/base/KtFe10PsiSymbolUtils.kt

                    if (parentDeclaration is KtClass && parentDeclaration.isInterface()) {
                        Modality.ABSTRACT
                    } else {
                        Modality.OPEN
                    }
                }
                Modality.OPEN
            }
            else -> null
        }
    
    internal val KtElement.ktSymbolKind: KtSymbolKind
        get() {
            if (this is KtPropertyAccessor) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:55 GMT 2022
    - 5.5K bytes
    - Viewed (0)
Back to top