Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Ignore (1.18 sec)

  1. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
                BufferCache.releaseBuffer(nullBuffer); // Should ignore null
                BufferCache.releaseBuffer(wrongSizeBuffer); // Should ignore wrong size
                BufferCache.releaseBuffer(correctBuffer); // Should accept correct size
            });
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/TopKSelector.java

       * range [0, k) and ignore the remaining elements.
       */
      private final @Nullable T[] buffer;
      private int bufferSize;
    
      /**
       * The largest of the lowest k elements we've seen so far relative to this comparator. If
       * bufferSize ≥ k, then we can ignore any elements greater than this value.
       */
      private @Nullable T threshold;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/BufferCache.java

        static public void releaseBuffer(final byte[] buf) {
            // Validate buffer before returning to cache
            if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) {
                return; // Silently ignore invalid buffers
            }
    
            // Only cache if we haven't reached the limit - O(1) check
            if (queueSize.get() < MAX_BUFFERS) {
                if (bufferQueue.offer(buf)) { // O(1) operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                }
            } else {
                server.guid = new byte[16];
                System.arraycopy(buffer, bufferIndex, server.guid, 0, 16);
                server.oemDomainName = new String();
                // ignore SPNEGO token for now ...
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                        } else {
                            session.acquire();
                            acquireCount.incrementAndGet();
                        }
    
                    } catch (Exception e) {
                        // Ignore expected exceptions from over-release
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
            // Start all threads simultaneously
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
            final Smb2SigningDigest dgst = getDigest();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. android/pom.xml

                </signature>
                <ignores>
                  <!-- Unsafe isn't part of the documented Android API, but it is available.
                       And in cases where it's not, we have fallbacks (except maybe Striped64 (b/307807965)?). -->
                  <ignore>sun.misc.Unsafe</ignore>
                </ignores>
              </configuration>
              <executions>
                <execution>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

         */
        @Override
        public void setExtendedSecurity(final boolean extendedSecurity) {
            // ignore
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlock#setUid(int)
         */
        @Override
        public void setUid(final int uid) {
            // ignore
        }
    
        /**
         * Gets the flags for this message.
         *
         * @return the flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                        log.debug("Session setup failed", se);
                        if (this.connectionState.compareAndSet(1, 0)) {
                            // only try to logoff if we have not completed the session setup, ignore errors from chained
                            // responses
                            logoff(true, true);
                        }
                        throw se;
                    } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         */
        long getAttributeCacheTimeout();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.ignoreCopyToException} (boolean, false)
         *
         * @return whether to ignore exceptions that occur during file copy
         */
        boolean isIgnoreCopyToException();
    
        /**
         * Gets the batch limit for a specific SMB command
         *
         * @param cmd the SMB command name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top