Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 481 for computed (0.11 sec)

  1. cmd/erasure-metadata-utils.go

    	}
    	if partSize == 0 {
    		return 0, errPartSizeZero
    	}
    	if partIndex < 1 {
    		return 0, errPartSizeIndex
    	}
    	if totalSize == -1 {
    		return -1, nil
    	}
    	if totalSize > 0 {
    		// Compute the total count of parts
    		partsCount := totalSize/partSize + 1
    		// Return the part's size
    		switch {
    		case int64(partIndex) < partsCount:
    			currPartSize = partSize
    		case int64(partIndex) == partsCount:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. docs/fr/docs/features.md

    Si vous souhaitez un rappel de 2 minutes sur l'utilisation des types en Python (même si vous ne comptez pas utiliser FastAPI), jetez un oeil au tutoriel suivant: [Python Types](python-types.md){.internal-link target=_blank}.
    
    Vous écrivez du python standard avec des annotations de types:
    
    ```Python
    from datetime import date
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

                            try {
                                startLatch.countDown();
                                holdLatch.await();
                                return "completed";
                            } catch (InterruptedException e) {
                                throw new RuntimeException(e);
                            }
                        });
                    } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt

      ) {
        val pins = findMatchingPins(hostname)
        if (pins.isEmpty()) return
    
        val peerCertificates = cleanedPeerCertificatesFn()
    
        for (peerCertificate in peerCertificates) {
          // Lazily compute the hashes for each certificate.
          var sha1: ByteString? = null
          var sha256: ByteString? = null
    
          for (pin in pins) {
            when (pin.hashAlgorithm) {
              "sha256" -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    
    These are the primary classes involved with establishing, sharing, and terminating connections:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

        e.execute(runMe);
        fakePool.runAll();
    
        assertEquals(2, numCalls.get());
      }
    
      public void testInterrupt_beforeRunRestoresInterruption() throws Exception {
        // Run a task on the composed Executor that interrupts its thread (i.e. this thread).
        fakePool.execute(
            new Runnable() {
              @Override
              public void run() {
                Thread.currentThread().interrupt();
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/PreauthIntegrityService.java

                context.invalidate();
                throw new CIFSException("Failed to update preauth integrity hash for session " + sessionId, e);
            }
        }
    
        /**
         * Validates the preauth integrity for completed negotiation.
         *
         * @param sessionId the session identifier
         * @param expectedHash the expected final hash
         * @return true if validation passes
         * @throws CIFSException if validation fails
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. .github/workflows/tests.yml

                  docker cp "${sql_file}" "${container_name}":"${sql_file}"
                  docker exec -i ${TTY_FLAG} "${container_name}" bash -c "su - omm -c 'gsql -U omm -f ${sql_file}'"
                  echo "Database initialization completed."
                  break
                fi
    
                echo "Waiting for database to be ready... (attempt $((retry_count + 1))/$max_retries)"
                sleep 10
                ((++retry_count))
              done
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

                assertThrows(SmbUnsupportedOperationException.class, () -> transport.calculatePreauthHash(new byte[] { 1, 2, 3 }, 0, 3, null));
            }
    
            @Test
            @DisplayName("calculatePreauthHash computes SHA-512 chain for SMB 3.1.1")
            void preauthHash_happyPath() throws Exception {
                setField(transport, "smb2", true);
                Smb2NegotiateResponse nego = new Smb2NegotiateResponse(cfg);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SpnegoContextTest.java

            assertFalse(ctx.isMICAvailable());
            verify(this.mechContext, never()).isMICAvailable();
        }
    
        @Test
        @DisplayName("isEstablished short-circuits on not completed and does not call delegate")
        void testIsEstablishedShortCircuit() {
            SpnegoContext ctx = newContext();
            // The mock setup is unnecessary since we never call it
            assertFalse(ctx.isEstablished());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top