Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 810 for zeroed (0.31 sec)

  1. cmd/last-minute.go

    // Merge data of two lastMinuteLatency structure
    func (l lastMinuteLatency) merge(o lastMinuteLatency) (merged lastMinuteLatency) {
    	if l.LastSec > o.LastSec {
    		o.forwardTo(l.LastSec)
    		merged.LastSec = l.LastSec
    	} else {
    		l.forwardTo(o.LastSec)
    		merged.LastSec = o.LastSec
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle null file ID gracefully")
        void testNullFileId() {
            // Given
            byte[] nullFileId = new byte[16]; // All zeros
            Configuration config = mock(Configuration.class);
            when(config.getNotifyBufferSize()).thenReturn(8192);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            SMBUtil.writeInt4(104, buffer, 8); // NextEntryOffset to second entry
            SMBUtil.writeInt4(0, buffer, 12); // FileIndex
            // ... rest of first entry fields (zeros for simplicity)
            for (int i = 16; i < 102; i++) {
                buffer[i] = 0;
            }
            SMBUtil.writeInt4(8, buffer, 68); // FileNameLength at offset 60 from start
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. cmd/tier-last-day-stats.go

    func (l lastDayTierStats) merge(m lastDayTierStats) (merged lastDayTierStats) {
    	cl := l.clone()
    	cm := m.clone()
    
    	if cl.UpdatedAt.After(cm.UpdatedAt) {
    		cm.forwardTo(cl.UpdatedAt)
    		merged.UpdatedAt = cl.UpdatedAt
    	} else {
    		cl.forwardTo(cm.UpdatedAt)
    		merged.UpdatedAt = cm.UpdatedAt
    	}
    
    	for i := range cl.Bins {
    		merged.Bins[i] = cl.Bins[i].add(cm.Bins[i])
    	}
    
    	return merged
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    				for _, mergedV := range merged {
    					if ver.header.VersionID == mergedV.header.VersionID {
    						versions[i] = versions[i][1:]
    						continue
    					}
    				}
    				// Keep top entry (and remaining)...
    				break
    			}
    		}
    
    		if requestedVersions > 0 && requestedVersions == nVersions {
    			merged = append(merged, versions[0]...)
    			break
    		}
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

        }
    
        @Test
        @DisplayName("Test getCapacity with zero values")
        void testGetCapacityWithZeroValues() throws SMBProtocolDecodingException {
            // Prepare test data with zeros
            byte[] buffer = new byte[22];
    
            // All zeros
            for (int i = 0; i < buffer.length; i++) {
                buffer[i] = 0;
            }
    
            // Decode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Multiset.java

       * @return the count of the element before the operation; possibly zero
       * @throws IllegalArgumentException if {@code count} is negative
       * @throws NullPointerException if {@code element} is null and this implementation does not permit
       *     null elements. Note that if {@code count} is zero, the implementor may optionally return
       *     zero instead.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16));
    
                // Verify reserved bytes are zeros
                for (int i = 0; i < RESERVED_BYTES; i++) {
                    assertEquals(0, buffer[startIndex + 20 + i]);
                }
            }
    
            @Test
            @DisplayName("Should encode zero values correctly")
            void testEncodeZeroValues() {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION);
    
            byte[] buffer = new byte[100];
            // Initialize buffer with zeros to avoid random data
            java.util.Arrays.fill(buffer, (byte) 0);
    
            // Set dataCount to 0 - but decode still runs
            setDataCount(response, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    				}
    				vMod = append(vMod, newVers)
    			}
    			merged := mergeXLV2Versions(i, true, 0, vMod...)
    			if len(merged) == 0 && i < 2 {
    				t.Error("Did not get any results")
    				return
    			}
    			if len(merged) > 0 && i >= 2 {
    				t.Error("Got unexpected results", len(merged), merged[0].header)
    				return
    			}
    			for _, ver := range merged {
    				if ver.header.Type == invalidVersionType {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
Back to top