Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 230 for force32 (0.06 seconds)

  1. guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(10, IntMath.saturatedAbs(10));
        assertEquals(10, IntMath.saturatedAbs(-10));
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/IntMathTest.java

        assertEquals(10, IntMath.saturatedAbs(10));
        assertEquals(10, IntMath.saturatedAbs(-10));
      }
    
      private static int force32(int value) {
        // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it.
        return value & 0xffffffff;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                        + repository.getId() + " has elapsed or updates are forced.");
                    }
                }
            }
        }
    
        @Override
        public void getArtifact(
                Artifact artifact,
                List<ArtifactRepository> remoteRepositories,
                TransferListener downloadMonitor,
                boolean force)
                throws TransferFailedException, ResourceDoesNotExistException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .get());
                options.addOption(Option.builder(UPDATE_SNAPSHOTS)
                        .longOpt("update-snapshots")
                        .desc("Forces a check for missing releases and updated snapshots on remote repositories")
                        .get());
                options.addOption(Option.builder(ACTIVATE_PROFILES)
                        .longOpt("activate-profiles")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

                    .build());
            options.addOption(Option.builder(Character.toString(UPDATE_SNAPSHOTS))
                    .longOpt("update-snapshots")
                    .desc("Forces a check for missing releases and updated snapshots on remote repositories")
                    .build());
            options.addOption(Option.builder(Character.toString(ACTIVATE_PROFILES))
                    .longOpt("activate-profiles")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 04:56:48 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                    Arguments.of(true, new String[] {"--force-interactive"}, false),
                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive"}, false),
                    Arguments.of(true, new String[] {"--force-interactive", "--batch-mode"}, false),
                    Arguments.of(true, new String[] {"--force-interactive", "--non-interactive", "--batch-mode"}, false),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/ResourceManager.java

                            cleaned++;
                        } catch (Exception e) {
                            log.error("Failed to force close resource: {}", holder.resourceId, e);
                        }
                    }
                }
            }
    
            log.info("Force cleaned {} resources", cleaned);
            return cleaned;
        }
    
        /**
         * Shutdown the resource manager
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            assertTrue(addresses.length > 0, "Should return at least one address");
        }
    
        @Test
        @DisplayName("Should handle NetBIOS name resolution with timeout")
        @Timeout(value = 2, unit = TimeUnit.SECONDS) // Force test timeout
        void testGetNbtByName() {
            // When/Then - Should throw UnknownHostException quickly due to short timeouts
            UnknownHostException exception = assertThrows(UnknownHostException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            }
    
            try {
                dataIndexHelper.crawl("test-session-force-stop");
                assertTrue("Should exit quickly when force stopped", true);
            } catch (Exception e) {
                assertTrue("Force stop should handle exceptions quickly", true);
            }
        }
    
        @Test
        public void test_crawl_with_short_intervals() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/HashBiMap.java

        int keyHash = smearedHash(key);
        int entryForKey = findEntryByKey(key, keyHash);
        if (entryForKey != ABSENT) {
          V oldValue = values[entryForKey];
          if (Objects.equals(oldValue, value)) {
            return value;
          } else {
            replaceValueInEntry(entryForKey, value, force);
            return oldValue;
          }
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
Back to Top