Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,022 for Else (0.07 sec)

  1. src/text/template/parse/parse_test.go

    		`{{if .X}}"hello"{{end}}`},
    	{"if with else", "{{if .X}}true{{else}}false{{end}}", noError,
    		`{{if .X}}"true"{{else}}"false"{{end}}`},
    	{"if with else if", "{{if .X}}true{{else if .Y}}false{{end}}", noError,
    		`{{if .X}}"true"{{else}}{{if .Y}}"false"{{end}}{{end}}`},
    	{"if else chain", "+{{if .X}}X{{else if .Y}}Y{{else if .Z}}Z{{end}}+", noError,
    		`"+"{{if .X}}"X"{{else}}{{if .Y}}"Y"{{else}}{{if .Z}}"Z"{{end}}{{end}}{{end}}"+"`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

                } else if ("false".equalsIgnoreCase(s)) {
                    return Boolean.FALSE;
                } else if (s.equals("0")) {
                    return Boolean.FALSE;
                } else {
                    return Boolean.TRUE;
                }
            } else {
                return Boolean.TRUE;
            }
        }
    
        /**
         * {@literal boolean}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/cc_op_gen_util.cc

      size_t i = 0;
      bool cap = true;
      while (i < str.size()) {
        const char c = str[i++];
        if (c == '>') {
          cap = true;
        } else if (c == joiner) {
          cap = true;
        } else if (cap) {
          result += toupper(c);
          cap = false;
        } else {
          result += c;
        }
      }
      return result;
    }
    
    string SeparateNamespaces(StringPiece str) {
      string result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java

                    i = skipStackTrace(lines, i);
                } else if (line.matches(".*use(s)? or override(s)? a deprecated API\\.")) {
                    // A javac warning, ignore
                    i++;
                } else if (line.matches(".*w: .* is deprecated\\..*")) {
                    // A kotlinc warning, ignore
                    i++;
                } else if (line.matches("\\[Warn] :.* is deprecated: .*")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/convert_type.cc

      if (type.isF16()) {
        return tflite::TensorType_FLOAT16;
      } else if (type.isBF16()) {
        return tflite::TensorType_BFLOAT16;
      } else if (type.isF32()) {
        return tflite::TensorType_FLOAT32;
      } else if (type.isF64()) {
        return tflite::TensorType_FLOAT64;
      } else if (mlir::isa<mlir::TF::StringType>(type)) {
        return tflite::TensorType_STRING;
      } else if (auto complex_type = mlir::dyn_cast<mlir::ComplexType>(type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/initialization/exception/DefaultExceptionAnalyser.java

            if (locationAware != null) {
                return locationAware;
            } else if (result != null) {
                return result;
            } else if (contextMatch != null) {
                return contextMatch;
            } else {
                return exception;
            }
        }
    
        private static Throwable patchCircularCause(Throwable current, Throwable parent) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 13:10:04 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

          offset += static_cast<uint64_t>(r);
          n -= r;  // safe as 0 < r <= n so n will never underflow
          read += r;
        } else if (r == 0) {
          TF_SetStatus(status, TF_OUT_OF_RANGE, "Read fewer bytes than requested");
          break;
        } else if (errno == EINTR || errno == EAGAIN) {
          // Retry
        } else {
          TF_SetStatusFromIOError(status, errno, posix_file->filename);
          break;
        }
      }
    
      return read;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/ConnectionExceptionTransformer.java

            } else if (failure instanceof UnsupportedOperationConfigurationException) {
                return new UnsupportedOperationConfigurationException(connectionFailureMessage(failure)
                    + "\n" + failure.getMessage(), failure.getCause());
            } else if (failure instanceof GradleConnectionException) {
                return (GradleConnectionException) failure;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemAttributesDescriber.java

                    describeDocsType(docsType, sb);
                } else {
                    describeCategory(category, sb);
                }
            } else {
                if (docsType != null && category == null) {
                    describeDocsType(docsType, sb);
                } else {
                    sb.append("a component");
                }
            }
            if (usage != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:13:00 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } else if (lowerPath.endsWith(".css")) {
                    response.setContentType("text/css");
                } else if (lowerPath.endsWith(".eot")) {
                    response.setContentType("application/vnd.ms-fontobject");
                } else if (lowerPath.endsWith(".ico")) {
                    response.setContentType("image/vnd.microsoft.icon");
                } else if (lowerPath.endsWith(".js")) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:28:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top