Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2641 - 2650 of 3,507 for INT (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        assertEquals(3, ms.size());
      }
    
      public void testCustomComparator() throws Exception {
        Comparator<String> comparator =
            new Comparator<String>() {
              @Override
              public int compare(String o1, String o2) {
                return o2.compareTo(o1);
              }
            };
        TreeMultiset<String> ms = TreeMultiset.create(comparator);
    
        ms.add("b");
        ms.add("c");
        ms.add("a");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  protected Set<String> create(String[] elements) {
                    String[] deduped = dedupe(elements);
                    return new AbstractSet<String>() {
                      @Override
                      public int size() {
                        return deduped.length;
                      }
    
                      @Override
                      public Iterator<String> iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            }
            if (mocks != null) {
                mocks.close();
            }
        }
    
        @Test
        public void testRequestDirectoryLease() {
            String directoryPath = "/test/dir";
            int requestedState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
            Smb2LeaseKey expectedKey = new Smb2LeaseKey();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractRangeSet.java

        } else if (obj instanceof RangeSet) {
          RangeSet<?> other = (RangeSet<?>) obj;
          return this.asRanges().equals(other.asRanges());
        }
        return false;
      }
    
      @Override
      public final int hashCode() {
        return asRanges().hashCode();
      }
    
      @Override
      public final String toString() {
        return asRanges().toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeParameter.java

        Type type = capture();
        checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type);
        this.typeVariable = (TypeVariable<?>) type;
      }
    
      @Override
      public final int hashCode() {
        return typeVariable.hashCode();
      }
    
      @Override
      public final boolean equals(@Nullable Object o) {
        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
            final MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

       */
      public static UncaughtExceptionHandler systemExit() {
        return new Exiter(Runtime.getRuntime()::exit);
      }
    
      @VisibleForTesting
      interface RuntimeWrapper {
        void exit(int status);
      }
    
      @VisibleForTesting
      static final class Exiter implements UncaughtExceptionHandler {
        private static final LazyLogger logger = new LazyLogger(Exiter.class);
    
        private final RuntimeWrapper runtime;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

        /**
         * Returns the count of access results for the given session ID.
         *
         * @param sessionId the session ID
         * @return the count of access results
         */
        int getCount(String sessionId);
    
        /**
         * Deletes access results for the given session ID.
         *
         * @param sessionId the session ID
         */
        void delete(String sessionId);
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

         * Verifies that the CRUD mode matches the expected mode.
         *
         * @param crudMode the actual CRUD mode
         * @param expectedMode the expected CRUD mode
         */
        protected void verifyCrudMode(final int crudMode, final int expectedMode) {
            if (crudMode != expectedMode) {
                throwValidationError(messages -> {
                    messages.addErrorsCrudInvalidMode(GLOBAL, String.valueOf(expectedMode), String.valueOf(crudMode));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        // Concrete implementation for testing abstract DcerpcMessage
        private static class TestDcerpcMessage extends DcerpcMessage {
            private int opnumValue;
    
            public TestDcerpcMessage(int opnumValue) {
                this.opnumValue = opnumValue;
            }
    
            @Override
            public int getOpnum() {
                return opnumValue;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top