Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 470 for zeroed (0.07 seconds)

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

            // And it should still be zeroed
            for (byte value : reused) {
                assertEquals(0, value, "Reused buffer must be zeroed");
            }
        }
    
        // Edge: cache size 0 means nothing is cached; release still zeroes argument
        @Test
        @DisplayName("Cache size 0: release zeroes but does not cache; getBuffer allocates new")
        void zeroSizedCacheDoesNotStore() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java

            // Context handle is modified by the server (typically zeroed out)
            if (contextHandle == null) {
                contextHandle = new byte[20];
            }
            buf.readOctetArray(contextHandle, 0, 20);
        }
    
        /**
         * Checks if the context handle has been invalidated (all zeros).
         * A successful unregistration typically results in a zeroed context handle.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. internal/hash/crc.go

    		return crc1
    	}
    
    	even := make([]uint64, 32) // even-power-of-two zeros operator
    	odd := make([]uint64, 32)  // odd-power-of-two zeros operator
    
    	// put operator for one zero bit in odd
    	odd[0] = uint64(poly) // CRC-32 polynomial
    	row := uint64(1)
    	for n := 1; n < 32; n++ {
    		odd[n] = row
    		row <<= 1
    	}
    
    	// put operator for two zero bits in even
    	gf2MatrixSquare(even, odd)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. .github/workflows/close-linked-issue-when-merged-into-release.yml

    name: Close linked issues when PR merged into release
    
    on:
      pull_request:
        types: [closed]
        branches:
          - release
          - release7x
          - release8x
    
    permissions:
      issues: write
    
    jobs:
      closeIssueOnPrMerge:
        runs-on: ubuntu-latest
        steps:
          - name: Closes issues related to a merged pull request.
            uses: ldez/gha-mjolnir@df0e84242364946fa3ad4e7556510e8086ad681a
            env:
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Jul 16 09:18:51 GMT 2025
    - 458 bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java

                // Leading zeros removed and consecutive zeros compressed
                assertEquals("2001:db8::1", method.invoke(null, "2001:0db8:0:0:0:0:0:1"));
    
                // Longest sequence of zeros compressed (3 zeros at end vs 1 zero at start)
                assertEquals("2001:db8:0:1::1", method.invoke(null, "2001:0db8:0:1:0:0:0:1"));
    
                // No compression when all segments are non-zero (just remove leading zeros)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java

        // The response structure is reserved and must be zero (8 bytes)
        private byte[] reserved = new byte[8];
    
        /**
         * Create a new durable handle response
         */
        public DurableHandleResponse() {
            // Reserved field initialized to zeros
        }
    
        @Override
        public byte[] getName() {
            return CONTEXT_NAME_BYTES;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            if (nonce.length == 12) {
                // For CCM cipher, pad nonce to 16 bytes with zeros
                System.arraycopy(nonce, 0, this.nonce, 0, 12);
                // Last 4 bytes remain zero-initialized
            } else if (nonce.length == 16) {
                // For GCM cipher, use full 16-byte nonce
                System.arraycopy(nonce, 0, this.nonce, 0, 16);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

            // Normalize each part (remove leading zeros)
            final String[] normalized = new String[8];
            for (int i = 0; i < 8; i++) {
                normalized[i] = parts[i].replaceFirst("^0+(?!$)", "");
                if (normalized[i].isEmpty()) {
                    normalized[i] = "0";
                }
            }
    
            // Find longest sequence of consecutive zeros
            int longestStart = -1;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 08:31:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  9. internal/grid/msg.go

    	// When a response is received, the mux is already removed from the remote.
    	OpResponse
    
    	// OpDisconnect instructs that remote wants to disconnect
    	OpDisconnect
    
    	// OpMerged is several operations merged into one.
    	OpMerged
    )
    
    const (
    	// FlagCRCxxh3 indicates that, the lower 32 bits of xxhash3 of the serialized
    	// message will be sent after the serialized message as little endian.
    	FlagCRCxxh3 Flags = 1 << iota
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jul 25 21:07:21 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                UpgradeResult merged = result1.merge(result2);
    
                assertTrue(merged.success(), "Merged empty results should be successful");
                assertEquals(0, merged.processedCount(), "Merged empty results should have no processed POMs");
                assertEquals(0, merged.modifiedCount(), "Merged empty results should have no modified POMs");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top