Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 100 for chun (0.06 sec)

  1. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        }
    
        // ensures that the number of invocations looks sane
        void assertInvariants(int expectedBytes) {
          // we should have seen as many bytes as the next multiple of chunk after expectedBytes - 1
          assertEquals(out.toByteArray().length, ceilToMultiple(expectedBytes, chunkSize));
          assertEquals(expectedBytes / chunkSize, processCalled);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ForwardingMultiset}.
     *
     * @author Hayward Chan
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ForwardingMultisetTest extends TestCase {
    
      static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  3. tests/prepared_stmt_test.go

    	if !ok {
    		t.Fatalf("should assign PreparedStatement Manager back to database when using PrepareStmt mode")
    	}
    
    	loopCount := 100
    	var wg sync.WaitGroup
    	var unexpectedError bool
    	writerFinish := make(chan struct{})
    
    	wg.Add(1)
    	go func(id uint) {
    		defer wg.Done()
    		defer close(writerFinish)
    
    		for j := 0; j < loopCount; j++ {
    			var tmp User
    			err := tx.Session(&gorm.Session{}).First(&tmp, id).Error
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] out7 = new byte[8];
    
            // Act
            NtlmUtil.E(key14, data8, out14);
            NtlmUtil.E(key7, data8, out7);
    
            // Assert: first block identical to single-chunk encryption
            assertArrayEquals(Arrays.copyOfRange(out14, 0, 8), out7);
            // And second block is present and not all zeros
            assertFalse(Arrays.equals(new byte[8], Arrays.copyOfRange(out14, 8, 16)));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/Kerb5Context.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    /**
     * This class used to provide Kerberos feature when setup GSSContext.
     *
     * @author Shun
     */
    class Kerb5Context implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(Kerb5Context.class);
    
        private static final ASN1ObjectIdentifier KRB5_MECH_OID;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

    import org.jspecify.annotations.NullMarked;
    
    /**
     * Generators of different types of sets and derived collections from sets.
     *
     * @author Kevin Bourrillion
     * @author Jared Levy
     * @author Hayward Chan
     */
    @GwtCompatible
    @NullMarked
    public class SetGenerators {
    
      public static class ImmutableSetCopyOfGenerator extends TestStringSetGenerator {
        @Override
        protected Set<String> create(String[] elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * ThreadLocal; however, ThreadLocal is not well optimized for the case where the ThreadLocal is
       * non-static, and is initialized/removed frequently - this causes churn in the Thread specific
       * hashmaps. Using a static ThreadLocal to avoid that overhead would mean that different
       * ExecutionSequencer objects interfere with each other, which would be undesirable, in addition
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 01:35:55 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SpnegoContext.java

    import jcifs.spnego.SpnegoException;
    import jcifs.spnego.SpnegoToken;
    import jcifs.util.Hexdump;
    
    /**
     * This class used to wrap a {@link SSPContext} to provide SPNEGO feature.
     *
     * @author Shun
     *
     */
    class SpnegoContext implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(SpnegoContext.class);
    
        private static ASN1ObjectIdentifier SPNEGO_MECH_OID;
    
        static {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

    import jsinterop.annotations.JsMethod;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // we're overriding default serialization
    public abstract class ImmutableList<E> extends ImmutableCollection<E>
        implements List<E>, RandomAccess {
    
      ImmutableList() {}
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

              bytesOut.writeUtf8("\r\n")
              bytesOut.write(body, chunkSize)
              bytesOut.writeUtf8("\r\n")
            }
            bytesOut.writeUtf8("0\r\n") // Last chunk. Trailers follow!
            this.body = bytesOut.toMockResponseBody()
          }
    
        /**
         * Sets the response body to the UTF-8 encoded bytes of [body],
         * chunked every [maxChunkSize] bytes.
         */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top