Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 212 for signed (0.26 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockResponseBody.kt

     *
     */
    package mockwebserver3
    
    import java.io.IOException
    import okio.BufferedSink
    
    /**
     * The body of a [MockResponse].
     *
     * Unlike [okhttp3.ResponseBody], this interface is designed to be implemented by writers and not
     * called by readers.
     */
    public interface MockResponseBody {
      /** The length of this response in bytes, or -1 if unknown. */
      public val contentLength: Long
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        void testPadCalculation() {
            // Test pad calculation with different alignment values
            assertEquals(0, transaction.pad(0)); // Already aligned
            assertEquals(0, transaction.pad(4)); // Already aligned
            assertEquals(0, transaction.pad(8)); // Already aligned
            assertEquals(3, transaction.pad(1)); // Need 3 bytes to align to 4
            assertEquals(2, transaction.pad(2)); // Need 2 bytes to align to 4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/InternersTest.java

        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
        WeakReference<Integer> signal = new WeakReference<>(canonical);
        canonical = null; // Hint to the JIT that canonical is unreachable
    
        GcFinalization.awaitClear(signal);
        assertSame(not, pool.intern(not));
      }
    
      public void testAsFunction_simplistic() {
        String canonical = "a";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

      }
    
      /** Used by [Call.execute] to signal it is in-flight. */
      @Synchronized
      internal fun executed(call: RealCall) = runningSyncCalls.add(call)
    
      /** Used by [AsyncCall.run] to signal completion. */
      internal fun finished(call: AsyncCall) {
        call.callsPerHost.decrementAndGet()
        finished(runningAsyncCalls, call)
      }
    
      /** Used by [Call.execute] to signal completion. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

        // Helper to create a fresh request under test
        private Smb2LogoffRequest newRequest() {
            return new Smb2LogoffRequest(configuration);
        }
    
        @Test
        @DisplayName("size() returns 8-byte aligned value (header + 4)")
        void size_returnsAlignedValue() {
            // Arrange
            Smb2LogoffRequest req = newRequest();
            int base = Smb2Constants.SMB2_HEADER_LENGTH + 4; // structure size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * Gets the signature sequence number
         * @return the signSeq
         */
        public int getSignSeq() {
            return this.signSeq;
        }
    
        /**
         * Sets the signature sequence number
         * @param signSeq
         *            the signSeq to set
         */
        public final void setSignSeq(final int signSeq) {
            this.signSeq = signSeq;
        }
    
        /**
         * @return the verifyFailed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. src/packaging/common/systemd/fess.service

    ExecStart=${packaging.fess.bin.dir}/fess
    
    # Connects standard output to /dev/null
    StandardOutput=null
    
    # Connects standard error to journal
    StandardError=journal
    
    # When a JVM receives a SIGTERM signal it exits with code 143
    SuccessExitStatus=143
    
    # Specifies the maximum file descriptor number that can be opened by this process
    LimitNOFILE=${packaging.os.max.open.files}
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            void testBoundaryConditions() {
                // Test with exactly aligned data
                request.setData(new byte[8], 0, 8); // 8-byte aligned
                assertEquals(((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 8 + 7) / 8) * 8, request.size());
    
                // Test with unaligned data
                request.setData(new byte[7], 0, 7); // Not 8-byte aligned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // When
            int size = request.size();
    
            // Then - should include context sizes
            assertTrue(size > 112); // Bigger than without contexts
            assertEquals(0, size % 8); // Should be 8-byte aligned
        }
    
        @Test
        @DisplayName("Should write bytes to wire format correctly")
        void testWriteBytesWireFormat() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt

      fun checkForHostnameWithDoubleAsterisk() {
        val certificatePinner =
          CertificatePinner
            .Builder()
            .add("**.example.co.uk", certA1Sha256Pin)
            .build()
    
        // Should be pinned:
        assertFailsWith<SSLPeerUnverifiedException> {
          certificatePinner.check("example.co.uk", listOf(certB1.certificate))
        }
        assertFailsWith<SSLPeerUnverifiedException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top