Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 293 for bit (0.02 seconds)

  1. src/test/java/jcifs/FileNotifyInformationTest.java

                assertEquals(FileNotifyInformation.FILE_ACTION_MODIFIED, modifiedImpl.getAction());
                assertEquals("modified.txt", modifiedImpl.getFileName());
            }
        }
    
        @Nested
        @DisplayName("Bit Manipulation Tests")
        class BitManipulationTests {
    
            @Test
            @DisplayName("Test combining multiple filter flags")
            void testCombiningFilterFlags() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                ArgumentCaptor<jcifs.internal.smb1.com.SmbComReadAndX> cap =
                        ArgumentCaptor.forClass(jcifs.internal.smb1.com.SmbComReadAndX.class);
    
                // Act: choose len so upper/lower 16-bit parts are exercised
                byte[] buf = new byte[0x30000];
                try {
                    in.readDirect(buf, 0, 0x12345);
                    fail("Expected IOException due to short-circuit");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
    
            @Test
            @DisplayName("Should handle special offset patterns")
            void testSpecialOffsetPatterns() {
                // Given - alternating bit pattern
                long pattern1 = 0xAAAAAAAAAAAAAAAAL;
                long pattern2 = 0x5555555555555555L;
                int pattern3 = 0xDEADBEEF;
                SrvCopychunk chunk = new SrvCopychunk(pattern1, pattern2, pattern3);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

         */
        public byte[] generateNonce() {
            final byte[] nonce = new byte[isGCMCipher() ? 16 : 12];
    
            if (isGCMCipher()) {
                // SMB 3.1.1 GCM: 96-bit random/fixed + 32-bit counter for guaranteed uniqueness
                // Fill first 12 bytes with random data
                secureRandom.nextBytes(nonce);
    
                // Last 4 bytes: incrementing counter for guaranteed uniqueness
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            byte[] buffer = new byte[10];
    
            // Act
            int bytesWritten = transPeekNamedPipe.writeSetupWireFormat(buffer, 0);
    
            // Assert
            assertEquals(4, bytesWritten);
            // -1 in 16-bit is 0xFFFF
            assertEquals((byte) 0xFF, buffer[2]);
            assertEquals((byte) 0xFF, buffer[3]);
        }
    
        @Test
        @DisplayName("Should verify all read methods return 0 with various parameters")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  6. cmd/data-scanner-metric.go

    func (p *scannerMetrics) getCurrentPaths() []string {
    	var res []string
    	prefix := globalLocalNodeName + "/"
    	p.currentPaths.Range(func(key, value any) bool {
    		// We are a bit paranoid, but better miss an entry than crash.
    		name, ok := key.(string)
    		if !ok {
    			return true
    		}
    		obj, ok := value.(*currentPathTracker)
    		if !ok {
    			return true
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  7. docs/en/docs/deployment/server-workers.md

    From the list of deployment concepts from above, using workers would mainly help with the **replication** part, and a little bit with the **restarts**, but you still need to take care of the others:
    
    * **Security - HTTPS**
    * **Running on startup**
    * ***Restarts***
    * Replication (the number of processes running)
    * **Memory**
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        }
    
        @Test
        @DisplayName("Test with negative FID value (should handle as unsigned)")
        void testNegativeFidValue() {
            int fid = -1; // Will be treated as 0xFFFF in unsigned 16-bit
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, OWNER_SECURITY_INFORMATION);
            byte[] dst = new byte[10];
    
            querySecurityDesc.writeParametersWireFormat(dst, 0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

        }
    
        @Test
        public void test_createNextIndex_createsSecondIndex() throws Exception {
            Suggester suggester = createSuggester();
            suggester.createIndexIfNothing();
    
            // Wait a bit to ensure different timestamp in index name
    
            // Create next index
            suggester.createNextIndex();
    
            // Verify we now have two indices
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  10. internal/event/name.go

    	ObjectRemovedAll
    	ObjectReplicationAll
    	ObjectRestoreAll
    	ObjectTransitionAll
    	ObjectScannerAll
    	Everything
    )
    
    // The number of single names should not exceed 64.
    // This will break masking. Use bit 63 as extension.
    var _ = uint64(1 << objectSingleTypesEnd)
    
    // Expand - returns expanded values of abbreviated event type.
    func (name Name) Expand() []Name {
    	switch name {
    	case ObjectAccessedAll:
    		return []Name{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top