Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1191 - 1200 of 2,268 for Method (0.08 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

    interface PushObserver {
      /**
       * Describes the request that the server intends to push a response for.
       *
       * @param streamId server-initiated stream ID: an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`,
       * and `:path`.
       */
      fun onRequest(
        streamId: Int,
        requestHeaders: List<Header>,
      ): Boolean
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method
       * do double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
       * length-in-digits of an encoded integer.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakAcknowledgment.java

            dstIndex += 8;
    
            return dstIndex - start;
        }
    
        @Override
        protected int readBytesWireFormat(byte[] buffer, int bufferIndex) {
            // This is a request, not a response, so this method is not used
            return 0;
        }
    
        @Override
        public String toString() {
            return String.format("Smb2LeaseBreakAcknowledgment[leaseKey=%s,leaseState=0x%x,flags=0x%x]", leaseKey, leaseState, flags);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    
                // Then
                assertNotNull(chunk);
            }
        }
    
        @Nested
        @DisplayName("Size Method Tests")
        class SizeTests {
    
            @Test
            @DisplayName("Should return correct size of 24 bytes")
            void testSize() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(0, 0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            byte[] buffer = new byte[100];
            int read = trans2FindFirst2.readDataWireFormat(buffer, 0, 100);
    
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test toString method")
        void testToString() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path", "*.txt", 0x16, 50, 2048);
    
            String result = trans2FindFirst2.toString();
    
            assertNotNull(result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            // Test time conversion methods with timezone offset
            long serverTimeZoneOffset = 3600000L; // 1 hour
            response = new SmbComQueryInformationResponse(mockConfig, serverTimeZoneOffset);
    
            // Set a test time using reflection
            long testTime = System.currentTimeMillis();
            setFieldValue(response, "lastWriteTime", testTime);
    
            // All time methods should return the same converted time
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedListMultimap.java

       * were added to the multimap. Because the entries may have duplicates and follow the insertion
       * ordering, this method returns a {@link List}, instead of the {@link Collection} specified in
       * the {@link ListMultimap} interface.
       *
       * <p>An entry's {@link Entry#getKey} method always returns the same key, regardless of what
       * happens subsequently. As long as the corresponding key-value mapping is not removed from the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5ContextTest.java

        private Kerb5Context ctx;
        private MockedStatic<GSSManager> mockedStatic;
    
        @BeforeEach
        void setUp() throws Exception {
            // Mock the static GSSManager.getInstance() method
            mockedStatic = mockStatic(GSSManager.class);
            mockedStatic.when(GSSManager::getInstance).thenReturn(gssManager);
    
            // Setup mock behavior for GSSManager with lenient matchers
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
        for (float value : NUMBERS) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/FloatsTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (float value : VALUES) {
          assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
        for (float value : NUMBERS) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
Back to top