Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for initVal (0.1 sec)

  1. src/main/java/org/codelibs/core/text/Tokenizer.java

            return sval;
        }
    
        /**
         * Advances to the next token.
         *
         * @return The type of the token.
         */
        public int nextToken() {
            initVal();
            if (processEOF()) {
                return ttype;
            }
            if (processWhitespace()) {
                return ttype;
            }
            if (processWord()) {
                return ttype;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

            this.creditsGranted = 0;
        }
    
        /**
         * Get initial number of credits to request
         *
         * @return initial credits
         */
        public int getInitialCredits() {
            return initialCredits;
        }
    
        /**
         * Set initial credits
         *
         * @param initialCredits initial credits to request
         */
        public void setInitialCredits(int initialCredits) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            FileEntry initial = entry("first");
            FileEntry[] page1 = new FileEntry[] { entry("bad"), entry("good") };
            TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 }));
    
            // Act
            assertTrue(it.hasNext());
            assertEquals("first", it.next().getName()); // initial
            assertTrue(it.hasNext());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        }
    
        /**
         * Creates and returns an initial context.
         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java

            assertEquals(testDialect, response.getDialect(), "Dialect should match");
        }
    
        @Test
        @DisplayName("Test initial state of response object")
        void testInitialState() {
            // Verify initial state
            assertEquals(0, response.getCapabilities(), "Initial capabilities should be 0");
            assertNotNull(response.getServerGuid(), "Server GUID should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            for (int i = 0; i < 3; i++) {
                session.acquire();
                assertTrue(session.isInUse(), "Session should be in use after acquire " + i);
    
                session.release();
                assertTrue(session.isInUse(), "Session should still be in use after release " + i + " (due to initial acquire)");
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

        class GetterMethodsTests {
    
            @Test
            @DisplayName("getCloseFlags should return initial value of 0")
            void testGetCloseFlags() {
                assertEquals(0, response.getCloseFlags());
            }
    
            @Test
            @DisplayName("getCreationTime should return initial value of 0")
            void testGetCreationTime() {
                assertEquals(0, response.getCreationTime());
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         *
         * @param <E> the element type of {@link ArrayBlockingQueue}
         * @param capacity the queue capacity
         * @param fair whether the queue is fair
         * @param c the collection of initial elements
         * @return a new instance of {@link ArrayBlockingQueue}
         * @see ArrayBlockingQueue#ArrayBlockingQueue(int, boolean, Collection)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test we can read the initial file that was created
            SmbFile initialFile = new SmbFile(baseUrl + "shared/initial.txt", context);
            assertTrue(initialFile.exists(), "Initial file should exist");
            assertTrue(initialFile.isFile(), "Initial file should be a file");
            assertTrue(initialFile.canRead(), "Should be able to read initial file");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/LruHashMap.java

     * @param <K> the key type
     * @param <V> the value type
     */
    public class LruHashMap<K, V> extends LinkedHashMap<K, V> {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Default initial capacity.
         */
        protected static final int DEFAULT_INITIAL_CAPACITY = 16;
    
        /**
         * Default load factor.
         */
        protected static final float DEFAULT_LOAD_FACTOR = 0.75f;
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top