Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 2,390 for when (0.02 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * Sets the certificate to be valid in ```[notBefore..notAfter]```. Both endpoints are specified
         * in the format of [System.currentTimeMillis]. Specify -1L for both values to use the default
         * interval, 24 hours starting when the certificate is created.
         */
        fun validityInterval(
          notBefore: Long,
          notAfter: Long,
        ) = apply {
          require(notBefore <= notAfter && notBefore == -1L == (notAfter == -1L)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

        )
      }
    
      /** Returns a latch that reaches 0 when the queue is next idle. */
      fun idleLatch(): CountDownLatch {
        taskRunner.withLock {
          // If the queue is already idle, that's easy.
          if (activeTask == null && futureTasks.isEmpty()) {
            return CountDownLatch(0)
          }
    
          // If there's an existing AwaitIdleTask, use it. This is necessary when the executor is
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

    package jcifs.internal.smb1.com;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import java.nio.charset.StandardCharsets;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * Tests for the SmbComCreateDirectory class.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      private var clientAuth = CLIENT_AUTH_NONE
    
      private var closed: Boolean = false
    
      /**
       * The number of HTTP requests received thus far by this server. This may exceed the number of
       * HTTP connections when connection reuse is in practice.
       */
      public val requestCount: Int
        get() = atomicRequestCount.get()
    
      /** The number of bytes of the POST body to keep in memory to the given limit. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. schema/field_test.go

    		"birthday":   time.Now(),
    		"active":     f,
    	}
    
    	for k, v := range newValues {
    		if err := userSchema.FieldsByDBName[k].Set(context.Background(), reflectValue, v); err != nil {
    			t.Errorf("no error should happen when assign value to field %v, but got %v", k, err)
    		}
    	}
    	newValues["updated_at"] = time.Time{}
    	newValues["active"] = false
    	checkField(t, userSchema, reflectValue, newValues)
    
    	// test valuer and other type
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  6. .bazelrc

    # TODO(rostam): Remove when `cc_shared_library` is enabled by default
    common --experimental_cc_shared_library
    
    # cc_shared_library ensures no library is linked statically more than once.
    common --experimental_link_static_libraries_once=false
    
    # Prevent regressions on those two incompatible changes
    # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessClient.java

         */
        public interface WitnessNotificationListener {
            /**
             * Called when a witness notification is received.
             *
             * @param notification the witness notification
             */
            void onWitnessNotification(WitnessNotification notification);
    
            /**
             * Called when a witness registration fails.
             *
             * @param registration the failed registration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testReadOperationsWithNullBuffer() {
                // Read operations return 0 when given null buffer - no exceptions thrown
                assertEquals(0, response.readSetupWireFormat(null, 0, 0));
                assertEquals(0, response.readParametersWireFormat(null, 0, 0));
    
                // readDataWireFormat will throw when accessing null buffer
                assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect4Test.java

        @Test
        void testMsrpcSamrConnect4() {
            // Given
            final String server = "test-server";
            final int access = 1;
    
            // When
            final MsrpcSamrConnect4 request = new MsrpcSamrConnect4(server, access, this.policyHandle);
    
            // Then
            assertEquals(0, request.getPtype());
            assertEquals(DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG, request.getFlags());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

      // (1) If type == TF_ATTR_STRING and is_list == 0
      //     then total_size is the byte size of the string
      //     valued attribute.
      // (2) If type == TF_ATTR_STRING and is_list == 1
      //     then total_size is the cumulative byte size
      //     of all the strings in the list.
      // (3) If type == TF_ATTR_SHAPE and is_list == 0
      //     then total_size is the number of dimensions
      //     of the shape valued attribute, or -1
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top