Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 253 for zeroed (0.72 sec)

  1. src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java

            int totalWeight = 0;
            for (ChannelInfo channel : channels) {
                totalWeight += channel.getScore();
            }
    
            if (totalWeight == 0) {
                // All channels have zero score, pick randomly
                List<ChannelInfo> list = new ArrayList<>(channels);
                return list.get(ThreadLocalRandom.current().nextInt(list.size()));
            }
    
            // Weighted random selection
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("Test with various file ID patterns")
        void testWithVariousFileIdPatterns() {
            // Test with all zeros
            byte[] zeroFileId = new byte[16];
            Smb2CloseRequest zeroRequest = new Smb2CloseRequest(mockConfig, zeroFileId, testFileName);
            testFileIdInRequest(zeroRequest, zeroFileId);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.isFile(), "Should be identified as a file");
            assertFalse(file.isDirectory(), "Should not be identified as a directory");
            assertEquals(0, file.length(), "New file should have zero length");
        }
    
        @Test
        void testFileWriteAndRead() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/content.txt", context);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(0, message.retval);
            }
    
            @Test
            @DisplayName("Should handle zero sam pointer correctly")
            void testDecodeOutZeroSamPointer() throws NdrException {
                // Given: Message with non-null sam and zero pointer in response
                samr.SamrSamArray samArray = spy(new samr.SamrSamArray());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                assertEquals(0, message.retval);
            }
    
            @Test
            @DisplayName("Should handle zero sam pointer correctly")
            void testDecodeOutZeroSamPointer() throws NdrException {
                // Given: Message with non-null sam and zero pointer in response
                samr.SamrSamArray samArray = spy(new samr.SamrSamArray());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  6. src/main/resources/fess_label_en.properties

    labels.searchlog_log_type_favorite=Favorite Log
    labels.searchlog_log_type_user_info=User Log
    labels.searchlog_log_type_search_keyword=Keyword Count
    labels.searchlog_log_type_search_zerohit=Zero Hit Count
    labels.searchlog_log_type_search_zeroclick=Zero Click Count
    labels.searchlog_log_type_search_count_hour=Search Count/Hour
    labels.searchlog_log_type_search_count_day=Search Count/Day
    labels.searchlog_log_type_search_user_hour=User Count/Hour
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 44K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            byte[] securityDescriptorBytes = new byte[20];
            securityDescriptorBytes[0] = 1; // revision
            // Rest are zeros - no DACL
            info502.security_descriptor = securityDescriptorBytes;
            info502.sd_size = securityDescriptorBytes.length;
    
            // Replace info field
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                resultField.setAccessible(true);
                assertEquals(result, resultField.get(bind), "Result should be set from decoded value");
            }
    
            @Test
            @DisplayName("decode_out should handle non-zero result codes")
            void testDecodeOutWithError() throws Exception {
                // Given
                int errorResult = 2;
                when(mockBuffer.dec_ndr_short()).thenReturn(2048, 2048, 5, errorResult, 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                buffer.decode(testBuffer, 0, testBuffer.length);
    
                assertEquals(tflagsValue, buffer.getTflags());
            }
    
            @Test
            @DisplayName("Should decode with non-zero buffer offset")
            void testDecodeWithOffset() {
                byte[] testBuffer = new byte[20];
                int offset = 5;
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(4L * 8192L * 1024L, smbInfoAllocation.getCapacity());
            }
    
            @Test
            @DisplayName("Should handle zero values")
            void testZeroValues() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[24];
    
                smbInfoAllocation.decode(buffer, 0, buffer.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top