Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1961 - 1970 of 2,316 for Booleans (0.03 sec)

  1. guava/src/com/google/common/math/LongMath.java

       */
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
       * Returns 1 if {@code x < y} as unsigned longs, and 0 otherwise. Assumes that x - y fits into a
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

        }
    
        @Test
        void testNewSyncContext() throws Exception {
            // SyncContext newSyncContext( RepositorySystemSession session, boolean shared );
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/MultiThreadedBuilder.java

                throws ExecutionException, InterruptedException {
            int nThreads = Math.min(
                    session.getRequest().getDegreeOfConcurrency(),
                    session.getProjects().size());
            boolean parallel = nThreads > 1;
            // Propagate the parallel flag to the root session and all the cloned sessions in each project segment
            session.setParallel(parallel);
            for (ProjectSegment segment : projectBuilds) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 16 03:42:09 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         *
         * @param artifactType the type of the artifact
         * @param name the name of the artifact
         * @return true if the artifact should be excluded, false otherwise
         */
        protected boolean isExcludedName(final ArtifactType artifactType, final String name) {
            if (artifactType != ArtifactType.CRAWLER) {
                return false;
            }
    
            if ("fess-crawler".equals(name)//
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                return null;
            }
        }
    
        private ArtifactRepository createRepository(
                String url,
                String repositoryId,
                boolean releases,
                String releaseUpdates,
                boolean snapshots,
                String snapshotUpdates,
                String checksumPolicy) {
            ArtifactRepositoryPolicy snapshotsPolicy =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/UniAddressTest.java

        @ParameterizedTest
        @ValueSource(strings = { "192.168.0.1", "123.45.67.89", "1.2.3.4" })
        void isDotQuadIPRecognizesDotQuadIP(String ip) {
            // Arrange & Act
            boolean result = UniAddress.isDotQuadIP(ip);
            // Assert
            assertTrue(result, "isDotQuadIP should return true for dot-quad IP");
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

                assertNotNull(result, "Icon result should not be null for " + icon);
    
                // Result should be consistent with charset's canEncode capability
                boolean canEncode = StandardCharsets.ISO_8859_1.newEncoder().canEncode(icon.getUnicodeChar());
                String expected = canEncode ? String.valueOf(icon.getUnicodeChar()) : icon.getAsciiFallback();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java

                public Optional<UnaryOperator<String>> getInterpolationSource() {
                    return Optional.ofNullable(interpolationSource);
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultSettingsBuilderRequest that
                            && Objects.equals(installationSettingsSource, that.installationSettingsSource)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                System.err.println("Unable determine version from JAR file: " + e.getMessage());
            }
    
            return properties;
        }
    
        public static void showError(Logger logger, String message, Throwable e, boolean showStackTrace) {
            if (logger == null) {
                System.err.println(message);
                if (showStackTrace && e != null) {
                    e.printStackTrace(System.err);
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

        /** Adds a path segment. If the input is ".." or equivalent, this pops a path segment. */
        private fun push(
          input: String,
          pos: Int,
          limit: Int,
          addTrailingSlash: Boolean,
          alreadyEncoded: Boolean,
        ) {
          val segment =
            input.canonicalize(
              pos = pos,
              limit = limit,
              encodeSet = PATH_SEGMENT_ENCODE_SET,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
Back to top