Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,793 for distance (0.33 sec)

  1. guava/src/com/google/common/collect/ImmutableMultiset.java

        // "extends Object" works around https://github.com/typetools/checker-framework/issues/3013
        SerializedForm(Multiset<? extends Object> multiset) {
          int distinct = multiset.entrySet().size();
          elements = new Object[distinct];
          counts = new int[distinct];
          int i = 0;
          for (Entry<? extends Object> entry : multiset.entrySet()) {
            elements[i] = entry.getElement();
            counts[i] = entry.getCount();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

    class MonotonicClockTest {
    
        @Test
        @DisplayName("MonotonicClock singleton instance should always return the same instance")
        void testSingletonInstance() {
            MonotonicClock clock1 = MonotonicClock.get();
            MonotonicClock clock2 = MonotonicClock.get();
    
            assertSame(clock1, clock2, "Multiple calls to get() should return the same instance");
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. .teamcity/scripts/common.sh

    # https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
    exit_if_not_on_ec2_instance() {
      curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id"
      IS_EC2_INSTANCE=$?
      if [ $IS_EC2_INSTANCE -ne 0 ]; then
        echo "Not running on an EC2 instance, skipping the configuration"
        exit 0
      fi
    }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Oct 26 09:37:09 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

        this.funnel = checkNotNull(funnel);
        this.strategy = checkNotNull(strategy);
      }
    
      /**
       * Creates a new {@code BloomFilter} that's a copy of this instance. The new instance is equal to
       * this instance but shares no mutable state.
       *
       * @since 12.0
       */
      public BloomFilter<T> copy() {
        return new BloomFilter<>(bits.copy(), numHashFunctions, funnel, strategy);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 19:23:59 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
                        (String str) -> charactersOf(str).spliterator(),
                        Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL,
                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMap_nullStream() {
        SpliteratorTester.of(
                () ->
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/resources/fess_job.xml

    	</component>
    
    	<!-- Jobs -->
    	<component name="crawlJob" class="org.codelibs.fess.job.CrawlJob" instance="prototype">
    	</component>
    	<component name="suggestJob" class="org.codelibs.fess.job.SuggestJob" instance="prototype">
    	</component>
    	<component name="aggregateLogJob" class="org.codelibs.fess.job.AggregateLogJob" instance="prototype">
    	</component>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jun 12 22:21:45 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ldap/LdapUser.java

                    final LdapManager ldapManager = ComponentUtil.getLdapManager();
                    permissions = distinct(ArrayUtils.addAll(ldapManager.getRoles(this, baseDn, accountFilter, groupFilter, roles -> {
                        permissions = distinct(roles);
                        ComponentUtil.getActivityHelper().permissionChanged(OptionalThing.of(new FessUserBean(this)));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/beans/ParameterizedClassDesc.java

     *
     * @author koichik
     */
    public interface ParameterizedClassDesc {
    
        /**
         * Returns <code>true</code> if the class represented by this instance is parameterized.
         *
         * @return <code>true</code> if the class represented by this instance is parameterized
         */
        boolean isParameterizedClass();
    
        /**
         * Returns the raw class.
         *
         * @param <T>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * this parameter is marked nullable, this method does nothing.
       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) {
        method.setAccessible(true);
        testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass());
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java

            // Test no-argument constructor
            SmbShareInfo instance = new SmbShareInfo();
            assertNotNull(instance);
    
            // Test constructor with arguments
            String netName = "SHARE";
            int type = 1;
            String remark = "remark";
            instance = new SmbShareInfo(netName, type, remark);
            assertEquals(netName, instance.getName());
            // Note: getType() transforms the raw type
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top