Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 714 for prevent (0.04 sec)

  1. src/main/java/jcifs/smb/SmbCopyUtil.java

     *
     * @author mbechler
     *
     */
    public final class SmbCopyUtil {
    
        private static final Logger log = LoggerFactory.getLogger(SmbCopyUtil.class);
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SmbCopyUtil() {
        }
    
        /**
         * @param dest
         * @return
         * @throws SmbException
         * @throws SmbAuthException
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public class JoinerTest extends TestCase {
      private static final Joiner J = Joiner.on("-");
    
      // <Integer> needed to prevent warning :(
      private static final Iterable<Integer> iterable = Arrays.<Integer>asList();
      private static final Iterable<Integer> iterable1 = Arrays.asList(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. docs/debugging/inspect/export.go

    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    const (
    	// Breaking changes.
    	// Newer versions cannot be read by older software.
    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 17 19:38:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
     * resulting XML document is parsed, the parser API will return this text as the original literal
     * string {@code "Foo<Bar>"}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/UnicodeEscaper.java

     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
     * resulting XML document is parsed, the parser API will return this text as the original literal
     * string {@code "Foo<Bar>"}.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. docs/recipes.md

            System.out.println("Response 2 equals Response 1? " + response1Body.equals(response2Body));
          }
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            });
    
            assertTrue(exception.getMessage().contains("Invalid negotiate context count: 65535"));
        }
    
        /**
         * Test validation of excessive buffer sizes to prevent resource exhaustion.
         */
        @Test
        public void testExcessiveBufferSizes() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Test excessive maxTransactSize (> 16MB)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

            } catch (Exception e) {
                log.error("Error during tree finalization", e);
            } finally {
                super.finalize();
            }
        }
    
        /**
         * Emergency cleanup method to prevent memory leaks during finalization
         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero
                this.usageCount.set(0);
    
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                            logger.debug("Failed to access {}", key, e);
                        }
                        return 0L;
                    }
                });
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         * This class is intended to be used only through its static methods.
         */
        protected FessFunctions() {
            // nothing
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigIntegerMath.java

        long product = LongMath.factorials[startingNumber - 1];
        // Strip off 2s from this value.
        int shift = Long.numberOfTrailingZeros(product);
        product >>= shift;
    
        // Use floor(log2(num)) + 1 to prevent overflow of multiplication.
        int productBits = LongMath.log2(product, FLOOR) + 1;
        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top