Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 886 for zero (0.02 sec)

  1. guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.function.BiConsumer;
    import java.util.function.Consumer;
    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: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. tests/helper_test.go

    					"Birthday", "CompanyID", "ManagerID", "Active")
    			}
    		} else if user.ManagerID != nil {
    			t.Errorf("Manager should not be created for zero value, got: %+v", user.ManagerID)
    		}
    	})
    
    	t.Run("Team", func(t *testing.T) {
    		if len(user.Team) != len(expect.Team) {
    			t.Fatalf("Team should equal, expect: %v, got %v", len(expect.Team), len(user.Team))
    		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            this.signingLock.lock();
            try {
                if (this.closed) {
                    throw new IllegalStateException("SigningDigest is closed");
                }
    
                // zero out signature field
                final int index = offset + SIGNATURE_OFFSET;
                for (int i = 0; i < SIGNATURE_LENGTH; i++) {
                    data[index + i] = 0;
                }
    
                // set signed flag
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/ASN1Util.java

                }
    
                tagNo = b & 0x7f;
    
                // X.690-0207 8.1.2.4.2
                // "c) bits 7 to 1 of the first subsequent octet shall not all be zero."
                if (0 == tagNo) {
                    throw new IOException("corrupted stream - invalid high tag number found");
                }
    
                while ((b & 0x80) != 0) {
                    if (tagNo >>> 24 != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. cmd/streaming-signature-v4.go

    		cr.err = errSignatureMismatch
    		return n, cr.err
    	}
    	cr.seedSignature = newSignature
    	cr.chunkSHA256Writer.Reset()
    
    	// If the chunk size is zero we return io.EOF. As specified by AWS,
    	// only the last chunk is zero-sized.
    	if len(cr.buffer) == 0 {
    		if cr.debug {
    			fmt.Println("EOF. Reading Trailers:", cr.trailers)
    		}
    		if cr.trailers != nil {
    			err = cr.readTrailers()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      public void testMemoizeWithExpiration_durationNegative() throws InterruptedException {
        assertThrows(
            IllegalArgumentException.class,
            () -> Suppliers.memoizeWithExpiration(() -> "", Duration.ZERO));
    
        assertThrows(
            IllegalArgumentException.class,
            () -> Suppliers.memoizeWithExpiration(() -> "", Duration.ofMillis(-1)));
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            assertFalse(response.isValidTid());
    
            // Test valid TID
            setTreeIdMethod.invoke(response, 100);
            assertTrue(response.isValidTid());
    
            // Test zero TID (valid)
            setTreeIdMethod.invoke(response, 0);
            assertTrue(response.isValidTid());
        }
    
        @Test
        @DisplayName("Should return null for getService")
        void testGetService() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                this.startOffset = startOffset;
                this.endOffset = endOffset;
                this.posInc = posInc;
                this.output = output;
                this.seq = 0; // zero for seq means that this token is the original of synonyms
            }
    
            public MyToken(final String word, final int startOffset, final int endOffset, final int posInc) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		hex.EncodeToString(x.Signature[:]),
    		time.Unix(0, x.ModTime),
    		x.Flags.String(),
    		x.EcN, x.EcM,
    	)
    }
    
    // matchesNotStrict returns whether x and o have both have non-zero version,
    // their versions match and their type match.
    // If they have zero version, modtime must match.
    func (x xlMetaV2VersionHeader) matchesNotStrict(o xlMetaV2VersionHeader) (ok bool) {
    	ok = x.VersionID == o.VersionID && x.Type == o.Type && x.matchesEC(o)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 65.6K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        public static final byte SMB_COM_NT_CREATE_ANDX = (byte) 0xA2;
    
        /*
         * Some fields specify the offset from the beginning of the header. This
         * field should be used for calculating that. This would likely be zero
         * but an implemantation that encorporates the transport header(for
         * efficiency) might use a different initial bufferIndex. For example,
         * to eliminate copying data when writing NbtSession data one might
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top