Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 172 for Absolute (0.05 seconds)

  1. scripts/tests/test_translation_fixer/test_header_permalinks/test_header_level_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_header_permalinks/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_level_mismatch_1.md")],
        indirect=True,
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. scripts/tests/test_translation_fixer/test_code_includes/test_number_mismatch.py

    from pathlib import Path
    
    import pytest
    from typer.testing import CliRunner
    
    from scripts.translation_fixer import cli
    
    data_path = Path(
        "scripts/tests/test_translation_fixer/test_code_includes/data"
    ).absolute()
    
    
    @pytest.mark.parametrize(
        "copy_test_files",
        [(f"{data_path}/en_doc.md", f"{data_path}/translated_doc_number_gt.md")],
        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

                path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar);
    
                File file = new File(path);
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.parameterCount = 5; // Current parameter count matches total
            d.parameterOffset = 2; // Absolute offset in the SMB message
            d.parameterDisplacement = 0;
            d.dataCount = 4; // Current data count matches total
            d.dataOffset = 10; // Absolute offset in the SMB message
            d.dataDisplacement = 0;
            d.headerStart = 0; // Set headerStart (bufferIndex will be 0)
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

          if (neg.signum() != 0) {
            return neg;
          }
        }
      }
    
      /**
       * Generates a number in [0, 2^numBits) with an exponential distribution. The floor of the log2 of
       * the absolute value of the result is chosen uniformly at random in [0, numBits), and then the
       * result is chosen from those possibilities uniformly at random.
       *
       * <p>Zero is treated as having log2 == 0.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

    .daterangepicker {
      position: absolute;
      color: inherit;
      background-color: #fff;
      border-radius: 4px;
      border: 1px solid #ddd;
      width: 278px;
      max-width: none;
      padding: 0;
      margin-top: 7px;
      top: 100px;
      left: 20px;
      z-index: 3001;
      display: none;
      font-family: arial;
      font-size: 15px;
      line-height: 1em;
    }
    
    .daterangepicker:before, .daterangepicker:after {
      position: absolute;
      display: inline-block;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  7. android/guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  8. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        Path getBasedir();
    
        /**
         * {@return the absolute path to the directory where files generated by the build are placed}
         * <p>
         * <strong>Purpose:</strong> This method provides the base output directory for a given scope,
         * which serves as the destination for compiled classes, processed resources, and other generated files.
         * The returned path is always absolute.
         * </p>
         * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            // Test absolute path outside base
            File baseDir = new File(tempDir.toFile(), "images");
            baseDir.mkdirs();
            File absoluteFile = new File("/etc/passwd");
    
            Boolean result = invokeIsValidUploadPath(absoluteFile, baseDir);
            assertFalse("Absolute path outside base should be blocked", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
Back to Top