Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 875 for zeroed (0.06 sec)

  1. docs/debugging/hash-set/main.go

    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    		log.Fatalln("set count cannot be zero")
    	}
    
    	id := uuid.MustParse(deploymentID)
    
    	if file != "" {
    		distrib := make([][]string, setCount)
    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
    
            assertArrayEquals(testBytes, key.getKey());
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create zero lease key")
        void testZeroLeaseKey() {
            byte[] zeroBytes = new byte[16];
            Arrays.fill(zeroBytes, (byte) 0);
    
            Smb2LeaseKey key = new Smb2LeaseKey(zeroBytes);
    
            assertTrue(key.isZero());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

      @Test
      fun publicSuffixDotOrgTestCases() {
        // Any copyright is dedicated to the Public Domain.
        // https://creativecommons.org/publicdomain/zero/1.0/
    
        // Mixed case.
        checkPublicSuffix("COM", null)
        checkPublicSuffix("example.COM", "example.com")
        checkPublicSuffix("WwW.example.COM", "example.com")
        // Leading dot.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                for (int i = startIndex + 4; i < buffer.length; i++) {
                    assertEquals((byte) 0xFF, buffer[i]);
                }
            }
    
            @Test
            @DisplayName("Should handle zero offset")
            void testWriteBytesAtZeroOffset() {
                byte[] buffer = new byte[10];
    
                int bytesWritten = echoRequest.writeBytesWireFormat(buffer, 0);
    
                assertEquals(4, bytesWritten);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/ACETest.java

        @Test
        @DisplayName("Test decode with deny ACE")
        void testDecodeDenyACE() throws Exception {
            // Prepare test data - Deny ACE
            testBuffer = new byte[100];
            testBuffer[0] = 0x01; // Deny ACE (non-zero)
            testBuffer[1] = 0x10; // FLAGS_INHERITED
            testBuffer[2] = 0x24; // Size low byte (36)
            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask byte 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                        "Should throw exception when reading beyond buffer bounds");
            }
    
            @Test
            @DisplayName("Should handle zero-length decode")
            void testDecodeWithZeroLength() throws SMBProtocolDecodingException {
                int result = testResponse.decode(testBuffer, 0, 0);
    
                assertEquals(0, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        timeout: Long,
        unit: TimeUnit,
      ): RecordedRequest? = requestQueue.poll(timeout, unit)
    
      /**
       * Scripts [response] to be returned to a request made in sequence. The first request is
       * served by the first enqueued response; the second request by the second enqueued response; and
       * so on.
       *
       * @throws ClassCastException if the default dispatcher has been
       * replaced with [setDispatcher][dispatcher].
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Bimap with zero or more mappings.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

    import com.google.j2objc.annotations.WeakOuter;
    import java.io.Serializable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Implementation of {@link ImmutableMultiset} with zero or more elements.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. callbacks/helper.go

    func ConvertSliceOfMapToValuesForCreate(stmt *gorm.Statement, mapValues []map[string]interface{}) (values clause.Values) {
    	columns := make([]string, 0, len(mapValues))
    
    	// when the length of mapValues is zero,return directly here
    	// no need to call stmt.SelectAndOmitColumns method
    	if len(mapValues) == 0 {
    		stmt.AddError(gorm.ErrEmptySlice)
    		return
    	}
    
    	var (
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top