Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 950 for compute (0.17 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                ComparableVersion c = new ComparableVersion(version);
    
                if (prev != null) {
                    int compare = prev.compareTo(c);
                    System.out.println(
                            "   " + prev + ' ' + ((compare == 0) ? "==" : ((compare < 0) ? "<" : ">")) + ' ' + version);
                }
    
                System.out.println(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                    return jarPath;
                }
            };
    
            try {
                Artifact artifact = new Artifact("fess-theme-complete", "1.0.0");
                mockThemeHelper.install(artifact);
                assertTrue(true); // Should complete without exception
            } catch (Exception e) {
                // May fail due to ResourceUtil dependencies in test environment
                assertTrue(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/InputValidator.java

        private static final Pattern VALID_USERNAME = Pattern.compile("^[a-zA-Z0-9._\\-@]+$");
        private static final Pattern VALID_DOMAIN = Pattern.compile("^[a-zA-Z0-9._\\-]+$");
        private static final Pattern VALID_SHARE = Pattern.compile("^[a-zA-Z0-9._\\-$]+$");
        private static final Pattern PATH_TRAVERSAL = Pattern.compile("\\.\\.[\\\\/]");
        private static final Pattern INVALID_PATH_CHARS = Pattern.compile("[\\x00-\\x1f\"*:<>?|]");
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

      //
      // 1) Optimal k = b * ln2
      // 2) p = (1 - e ^ (-kn/m))^k
      // 3) For optimal k: p = 2 ^ (-k) ~= 0.6185^b
      // 4) For optimal k: m = -nlnp / ((ln2) ^ 2)
    
      /**
       * Computes the optimal number of hash functions (k) for a given false positive probability (p).
       *
       * <p>See http://en.wikipedia.org/wiki/File:Bloom_filter_fp_probability.svg for the formula.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    public final class ArbitraryInstances {
    
      private static final Ordering<Field> BY_FIELD_NAME =
          new Ordering<Field>() {
            @Override
            public int compare(Field left, Field right) {
              return left.getName().compareTo(right.getName());
            }
          };
    
      /**
       * Returns a new {@code MatchResult} that corresponds to a successful match. Apache Harmony (used
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  6. tests/tests_all.sh

      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION && -d tests ]]; then
      cd tests
      if [[ $(uname -a) == *" arm64" ]]; then
        MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker compose up -d --wait
        go install github.com/microsoft/go-sqlcmd/cmd/sqlcmd@latest || true
        for query in \
          "IF DB_ID('gorm') IS NULL CREATE DATABASE gorm" \
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/NullsFirstOrdering.java

        this.ordering = ordering;
      }
    
      @Override
      public int compare(@Nullable T left, @Nullable T right) {
        if (left == right) {
          return 0;
        }
        if (left == null) {
          return RIGHT_IS_GREATER;
        }
        if (right == null) {
          return LEFT_IS_GREATER;
        }
        return ordering.compare(left, right);
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            addressArrayField.setAccessible(true);
            NbtAddress[] addresses = (NbtAddress[]) addressArrayField.get(response);
    
            // The name should be trimmed to "COMPUTER" without trailing spaces
            assertEquals("COMPUTER", addresses[0].hostName.name);
        }
    
        @Test
        void toString_shouldReturnFormattedString() {
            String result = response.toString();
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. README.md

    CIFSContext context = new BaseContext(config);
    ```
    
    ## Development
    
    ### Build Commands
    ```bash
    # Compile the source code
    mvn compile
    
    # Build JAR file
    mvn package
    
    # Clean and rebuild
    mvn clean compile
    
    # Install to local repository
    mvn install
    ```
    
    ### Testing
    ```bash
    # Run all tests (JUnit 4 based)
    mvn test
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                Set<String> sessionIds = processHelper.getRunningSessionIdSet();
                assertTrue(sessionIds.contains(sessionId));
    
                // Wait a bit for the process to complete
                Thread.sleep(100);
    
                // Clean up
                processHelper.destroyProcess(sessionId);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top