Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 2,376 for getC (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt

    import okhttp3.Protocol.Companion.get
    import org.junit.jupiter.api.Assertions.assertThrows
    import org.junit.jupiter.api.Test
    
    class ProtocolTest {
      @Test
      fun testGetKnown() {
        assertThat(get("http/1.0")).isEqualTo(Protocol.HTTP_1_0)
        assertThat(get("http/1.1")).isEqualTo(Protocol.HTTP_1_1)
        assertThat(get("spdy/3.1")).isEqualTo(Protocol.SPDY_3)
        assertThat(get("h2")).isEqualTo(Protocol.HTTP_2)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            commandField.setAccessible(true);
            int command = (int) commandField.get(request);
            assertEquals(0x0006, command); // SMB2_CLOSE value
    
            // Verify file ID is set
            Field fileIdField = Smb2CloseRequest.class.getDeclaredField("fileId");
            fileIdField.setAccessible(true);
            byte[] storedFileId = (byte[]) fileIdField.get(request);
            assertArrayEquals(testFileId, storedFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            loadTestData();
    
            StopwordsItem item = stopwordsFile.get(1).get();
            item.setNewInput("updated");
            stopwordsFile.update(item);
    
            // Verify the item was updated
            OptionalEntity<StopwordsItem> result = stopwordsFile.get(1);
            assertTrue(result.isPresent());
            assertEquals("updated", result.get().getInput());
        }
    
        // Test delete method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            super(config);
            this.outputBuffer = outputBuffer;
            this.ctlCode = ctlCode;
        }
    
        /**
         * Gets the IOCTL control code from the response.
         *
         * @return the ctlCode
         */
        public int getCtlCode() {
            return this.ctlCode;
        }
    
        /**
         * Gets the IOCTL flags from the response.
         *
         * @return the ioctlFlags
         */
        public int getIoctlFlags() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java

        try {
          future.get();
          fail();
        } catch (Exception e) {
          assertThat(e).isInstanceOf(IllegalStateException.class);
          assertThat(e).hasMessageThat().isEqualTo("Cannot get() on a pending future.");
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          future.get(0, SECONDS);
          fail();
        } catch (Exception e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        assertEquals(2, loadCount.get());
        assertEquals(1, reloadCount.get());
        assertEquals(2, loadAllCount.get());
    
        executor.runNext();
        assertEquals(2, loadCount.get());
        assertEquals(2, reloadCount.get());
        assertEquals(2, loadAllCount.get());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

        private int chunkBytesWritten;
        private int totalBytesWritten;
    
        /**
         * Gets the number of bytes written in the last chunk
         * @return the chunkBytesWritten
         */
        public int getChunkBytesWritten() {
            return this.chunkBytesWritten;
        }
    
        /**
         * Gets the number of chunks successfully written
         * @return the chunksWritten
         */
        public int getChunksWritten() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

        private int securityMode;
        private int dialect;
    
        /**
         * Gets the server capabilities
         *
         * @return the capabilities flags from the server
         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the server GUID
         *
         * @return the server's unique identifier
         */
        public byte[] getServerGuid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            assertTrue(cancellationSuccess.get());
            assertFalse(setFutureSuccess.get());
          } else {
            assertTrue(setFutureSuccess.get());
            assertFalse(cancellationSuccess.get());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/SsoManager.java

            }
            return null;
        }
    
        /**
         * Gets the configured SSO type from the system configuration.
         *
         * @return The SSO type string from configuration
         */
        protected String getSsoType() {
            return ComponentUtil.getFessConfig().getSsoType();
        }
    
        /**
         * Gets all registered SSO authenticators.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top