Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2031 - 2040 of 4,820 for If (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java

        this.allowNulls = allowNulls;
    
        if (!allowNulls) {
          for (Object element : contents) {
            if (element == null) {
              throw new NullPointerException();
            }
          }
        }
      }
    
      @Override
      public int size() {
        return contents.length;
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (!allowNulls) {
          // behave badly
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java

       */
      @VisibleForTesting transient long[] links;
    
      /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int firstEntry;
    
      /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */
      private transient int lastEntry;
    
      ObjectCountLinkedHashMap() {
        this(DEFAULT_SIZE);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenTarg.java

                final ASN1EncodableVector fields = new ASN1EncodableVector();
                final int res = getResult();
                if (res != UNSPECIFIED_RESULT) {
                    fields.add(new DERTaggedObject(true, 0, new ASN1Enumerated(res)));
                }
                final ASN1ObjectIdentifier mech = getMechanism();
                if (mech != null) {
                    fields.add(new DERTaggedObject(true, 1, mech));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbPipeHandleTest.java

        /**
         * Sets up the test environment before each test.
         * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}.
         * @throws CIFSException if an error occurs during setup.
         */
        @BeforeEach
        public void setUp() throws CIFSException {
            mockPipeResource = mock(SmbPipeResource.class);
            mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SID.java

         * <p>
         * Specifically, if the SID has
         * been resolved and it is not a domain SID or builtin account,
         * the full DOMAIN\name form of the account will be
         * returned (e.g. MYDOM\alice or MYDOM\Domain Users).
         * If the SID has been resolved but it is is a domain SID,
         * only the domain name will be returned (e.g. MYDOM).
         * If the SID has been resolved but it is a builtin account,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java

            if (StringUtil.isEmpty(filename) && is == null) {
                throw new MimeTypeException("The filename and input stream is empty.");
            }
    
            final Metadata metadata = new Metadata();
            metadata.add(ExtractData.RESOURCE_NAME_KEY, normalizeFilename(filename));
    
            try {
                if (useFilename) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            protected FileEntry open() throws CIFSException {
                if (staticThrowOnOpen)
                    throw new CIFSException("open fail");
                // Simulate fetching first page during open
                if (staticPages != null && !staticPages.isEmpty()) {
                    pageIdx = 0;
                }
                // Return the initial element if provided
                return staticInitial;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

     * It writes data to a temporary file once the data size exceeds a specified threshold.
     *
     * <p>This class ensures that the temporary file is deleted if it is not needed.
     * It uses a logger to log warnings if there are issues deleting the temporary file.</p>
     *
     * <p>Fields:</p>
     * <ul>
     *   <li>{@code logger} - Logger instance for logging warnings.</li>
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            for (int i = 0; i < elements.length; i++) {
              String element = elements[i];
              if (multiset1.contains(element) || multiset2.contains(element)) {
                // add to both; the one already containing it will have more
                multiset1.add(element);
                multiset2.add(element);
              } else if (i % 2 == 0) {
                multiset1.add(elements[i]);
              } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/FessApiAdminAction.java

        }
    
        /**
         * Determines whether the current request is authorized to access admin API endpoints.
         * This method validates the access token and checks if the associated permissions
         * allow admin access according to the Fess configuration.
         *
         * @return true if admin access is allowed, false otherwise
         */
        @Override
        protected boolean isAccessAllowed() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top