Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 253 for zeroed (0.42 sec)

  1. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                                session.release();
                            }
                        }
                    } catch (Exception e) {
                        if (!e.getMessage().contains("Usage count dropped below zero")) {
                            exceptions.add(e);
                        }
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NetbiosAddress.java

         */
        boolean isPermanent(CIFSContext tc) throws UnknownHostException;
    
        /**
         * Retrieves the MAC address of the remote network interface. Samba returns all zeros.
         *
         * @param tc
         *            context to use
         *
         * @return the MAC address as an array of six bytes
         * @throws UnknownHostException
         *             if the host cannot be resolved to
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // When
            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(maxData.length, bytesWritten);
        }
    
        @Test
        @DisplayName("Test zero-length write with valid data array")
        void testZeroLengthWrite() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, 0);
            byte[] dst = new byte[100];
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            final long us = this.usageCount.decrementAndGet();
            if (us == 0) {
                this.treeConnection.release();
            } else if (us < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        @Override
        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

            // Service accessors
            assertEquals("cifs", auth.getService());
            auth.setService("");
            assertEquals("", auth.getService());
    
            // Lifetime accessors (edge: zero/negative)
            auth.setUserLifeTime(0);
            assertEquals(0, auth.getUserLifeTime());
            auth.setUserLifeTime(-1);
            assertEquals(-1, auth.getUserLifeTime());
    
            auth.setLifeTime(0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

        }
    
        @Test
        void testShareInfo0DecodeWithNonNullNetname() throws NdrException {
            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(1); // non-zero pointer
            when(mockDeferredBuffer.dec_ndr_string()).thenReturn("DecodedShare");
    
            shareInfo0.decode(mockNdrBuffer);
    
            assertEquals("DecodedShare", shareInfo0.netname);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                SMBUtil.writeInt2(445, buffer, offset + 2); // sin_port
                System.arraycopy(address.getAddress(), 0, buffer, offset + 4, 4); // sin_addr
                // Remaining bytes stay zero-filled
            }
        }
    
        private static InetAddress parseSockaddr(byte[] data, int offset) {
            try {
                int family = SMBUtil.readInt2(data, offset);
                if (family == 2) { // AF_INET
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtStatusTest.java

            // Given
            int successStatus = NtStatus.NT_STATUS_SUCCESS;
    
            // When/Then
            assertEquals(0x00000000, successStatus);
            // Success status should be zero
            assertTrue(successStatus == 0);
        }
    
        @Test
        @DisplayName("Should identify error status codes")
        void testErrorStatusIdentification() {
            // Given
            int[] errorStatuses =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

            // Test negative value
            FileEndOfFileInformation info1 = new FileEndOfFileInformation(-100L);
            assertEquals("EndOfFileInformation[endOfFile=-100]", info1.toString());
    
            // Test zero
            FileEndOfFileInformation info2 = new FileEndOfFileInformation(0L);
            assertEquals("EndOfFileInformation[endOfFile=0]", info2.toString());
    
            // Test max value
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. CLAUDE.md

    - **Composite**: NormalizerChain, ReadingConverterChain
    - **Strategy**: Normalizer, ReadingConverter, ContentsParser
    - **Deferred/Promise**: Async operations
    
    ### Index Alias Strategy
    
    Zero-downtime index updates using dual aliases:
    
    ```
    Index Naming: {baseIndex}.{timestamp}
    Example:      my-suggest.20250123120000
    
    Aliases:
    ├── Search Alias: {baseIndex}          (read operations)
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top