Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 2,063 for casse (0.02 sec)

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

         */
        public static Boolean toBoolean(final Object o) {
            return switch (o) {
            case null -> null;
            case Boolean b -> b;
            case Number n -> n.intValue() != 0;
            case String s -> switch (s.toLowerCase()) {
            case "true" -> Boolean.TRUE;
            case "false", "0" -> Boolean.FALSE;
            default -> Boolean.TRUE;
            };
            default -> Boolean.TRUE;
            };
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *
     * Each response body is backed by a limited resource like a socket (live network responses) or
     * an open file (for cached responses). Failing to close the response body will leak resources and
     * may ultimately cause the application to slow down or crash.
     *
     * Both this class and [Response] implement [Closeable]. Closing a response simply
     * closes its response body. If you invoke [Call.execute] or implement [Callback.onResponse] you
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

            }
            return switch (family) {
                case FAMILY_WINDOWS -> isWindows;
                case FAMILY_WIN9X -> isWindows && is9x;
                case FAMILY_NT -> isWindows && isNT;
                case FAMILY_OS2 -> actualOsName.contains(FAMILY_OS2);
                case FAMILY_NETWARE -> actualOsName.contains(FAMILY_NETWARE);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwks.go

    			E: int(e.Int64()),
    			N: &n,
    		}, nil
    	case "EC":
    		if key.Crv == "" || key.X == "" || key.Y == "" {
    			return nil, errMalformedJWKECKey
    		}
    
    		var curve elliptic.Curve
    		switch key.Crv {
    		case "P-224":
    			curve = elliptic.P224()
    		case "P-256":
    			curve = elliptic.P256()
    		case "P-384":
    			curve = elliptic.P384()
    		case "P-521":
    			curve = elliptic.P521()
    		default:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. cmd/healthcheck-handler.go

    		return
    	}
    
    	if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() {
    		apiErr := getAPIError(ErrBusy)
    		switch r.Method {
    		case http.MethodHead:
    			writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    		case http.MethodGet:
    			writeErrorResponse(r.Context(), w, apiErr, r.URL)
    		}
    		return
    	}
    
    	// Verify if KMS is reachable if its configured
    	if GlobalKMS != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            return switch (infoType) {
            case Smb2Constants.SMB2_0_INFO_FILE -> createFileInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_FILESYSTEM -> createFilesystemInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_QUOTA -> createQuotaInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_SECURITY -> createSecurityInformation(infoClass);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. schema/serializer.go

    	switch fieldValue.(type) {
    	case int, int8, int16, int32, int64:
    		result = time.Unix(rv.Int(), 0).UTC()
    	case uint, uint8, uint16, uint32, uint64:
    		if uv := rv.Uint(); uv > math.MaxInt64 {
    			err = fmt.Errorf("integer overflow conversion uint64(%d) -> int64", uv)
    		} else {
    			result = time.Unix(int64(uv), 0).UTC() //nolint:gosec
    		}
    	case *int, *int8, *int16, *int32, *int64:
    		if rv.IsZero() {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:29:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                    switch (ch) {
                        case '\\':
                            out.append('\\');
                            break;
                        case '\'':
                            out.append('\'');
                            break;
                        case '\"':
                            out.append('"');
                            break;
                        case 'r':
                            out.append('\r');
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    switch (ch) {
                        case '\\':
                            out.append('\\');
                            break;
                        case '\'':
                            out.append('\'');
                            break;
                        case '\"':
                            out.append('"');
                            break;
                        case 'r':
                            out.append('\r');
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

            requireNonNull(level, "level");
            return switch (level) {
                case DEBUG -> MavenExecutionRequest.LOGGING_LEVEL_DEBUG;
                case INFO -> MavenExecutionRequest.LOGGING_LEVEL_INFO;
                case ERROR -> MavenExecutionRequest.LOGGING_LEVEL_ERROR;
            };
        }
    
        public static int toPlexusLoggingLevel(Slf4jConfiguration.Level level) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top