Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 248 for seront (1.28 sec)

  1. src/test/java/jcifs/context/BaseContextTest.java

            // Then
            assertNotNull(resource1, "First resource should be created");
            assertNotNull(resource2, "Second resource should be created");
            assertNotNull(pipe1, "First pipe should be created");
            assertNotNull(pipe2, "Second pipe should be created");
    
            assertNotSame(resource1, resource2, "Different resources should be different instances");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            c.acquire();
            verify(tree, times(1)).acquire();
    
            // Act: second acquire does not call tree.acquire again
            c.acquire();
            verify(tree, times(1)).acquire();
    
            // Act: first release does not release yet (usage -> 1)
            c.release();
            verify(tree, never()).release();
    
            // Act: second release (usage -> 0) releases the tree
            c.release();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            assertEquals(16L, response.getOffset(), "First read should set offset to 16");
    
            response.readParameterWordsWireFormat(buffer2, 0);
            assertEquals(32L, response.getOffset(), "Second read should update offset to 32");
        }
    
        @Test
        @DisplayName("getOffset returns same value on multiple calls")
        void testGetOffsetConsistency() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            // Create first index with alias
            client.admin().indices().prepareCreate(index1).addAlias(new Alias(aliasName)).execute().actionGet();
    
            // Create second index and add to same alias
            client.admin().indices().prepareCreate(index2).execute().actionGet();
            client.admin().indices().prepareAliases().addAlias(index2, aliasName).execute().actionGet();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbNamedPipeTest.java

            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
            @Test
            @DisplayName("Second constructor sets unshared based on flags")
            void secondCtorUnsharedFlagPath() throws Exception {
                // Arrange: include UNSHARED flag to exercise that branch
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. docs/smb3-features/06-witness-protocol-design.md

        // Resource state changed - may need to reconnect
        log.info("Resource change detected for: {}", notification.getResourceName());
        
        // Schedule reconnection attempt
        scheduleReconnection(1000);  // 1 second delay
    }
    
    private void handleClientMove(WitnessNotification notification) {
        // Server is asking client to move to different node
        log.info("Client move requested for resource: {}", notification.getResourceName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * SMB server addressed by the URL parameter. See {@link jcifs.smb1.smb1.SmbFile}
         * for a detailed description and examples of the smb URL syntax. If the
         * second argument is <code>true</code>, then bytes will be written to the
         * end of the file rather than the beginning.
         *
         * @param url An smb URL string representing the file to write to
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

            return Stream.of(Arguments.of(0x1234, 0L, new byte[] { 0x34, 0x12, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }),
                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
                    Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 }));
        }
    
        /**
         * When lastWriteTime is zero the encoded unsigned time must be all 1s.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

            /**
             * The number of milliseconds from the start of the current second.
             */
            public int msecs;
            /**
             * The current hour (0-23).
             */
            public int hours;
            /**
             * The current minute (0-59).
             */
            public int mins;
            /**
             * The current second (0-59).
             */
            public int secs;
            /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/ServerResponseValidator.java

                throw new SmbException("Buffer access out of bounds");
            }
        }
    
        /**
         * Safely add integers checking for overflow
         *
         * @param a first value
         * @param b second value
         * @return sum
         * @throws SmbException if overflow would occur
         */
        public int safeAdd(int a, int b) throws SmbException {
            totalValidations.incrementAndGet();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top