Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 5991 - 6000 of 7,132 for String (0.1 seconds)

  1. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

     *
     * MS-SMB2 2.2.13.2.10
     */
    public class LeaseV2CreateContextRequest implements CreateContextRequest {
    
        /**
         * Context name for lease V2 request
         */
        public static final String CONTEXT_NAME = "RqL2";
    
        private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes();
    
        private Smb2LeaseKey leaseKey;
        private int leaseState;
        private int leaseFlags;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            final Deferred<SuggestResponse> deferred = new Deferred<>();
            final AtomicInteger callbackCount = new AtomicInteger(0);
            final AtomicReference<String> receivedIndex = new AtomicReference<>();
    
            deferred.promise().then(response -> {
                callbackCount.incrementAndGet();
                receivedIndex.set(response.getIndex());
            });
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

        assertThat(
          inet4AddressToAscii(
            byteArrayOf(255.toByte(), 255.toByte(), 255.toByte(), 255.toByte()),
          ),
        ).isEqualTo("255.255.255.255")
      }
    
      private fun decodeIpv6(input: String): ByteArray? = decodeIpv6(input, 0, input.length)
    
      @Test
      fun testToCanonicalHost() {
        // IPv4
        assertThat("127.0.0.1".toCanonicalHost()).isEqualTo("127.0.0.1")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt

        assertInvalid("HTTP/1.1 2")
        assertInvalid("HTTP/1.1 20")
      }
    
      @Test
      fun wrongMessageDelimiter() {
        assertInvalid("HTTP/1.1 200_")
      }
    
      private fun assertInvalid(statusLine: String) {
        assertFailsWith<ProtocolException> {
          parse(statusLine)
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  5. docs_src/security/tutorial004_an_py310.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>Note that if {@code s} is a {@code Set<String>}, then {@code ImmutableSortedSet.copyOf(s)}
       * returns an {@code ImmutableSortedSet<String>} containing each of the strings in {@code s},
       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

      static class Foo2Test {
        @SuppressWarnings("unused") // accessed reflectively
        public void testPublic() {}
      }
    
      private List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, String... explicitTestNames) {
        return sanityTests.findClassesToTest(classes, Arrays.asList(explicitTestNames));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 28 02:48:50 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            // By default, it should be 0
            assertEquals(0, response.getResumeKey());
        }
    
        @Test
        void testToString() {
            // Test the toString method
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.contains("Trans2FindFirst2Response"));
            assertTrue(result.contains("sid="));
            assertTrue(result.contains("searchCount="));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

        }
    
        /**
         * Test of toString method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testToString() {
            String result = response.toString();
            assertNotNull(result);
            assertTrue(result.startsWith("SmbComQueryInformationResponse["));
            assertTrue(result.contains("fileAttributes=0x0000"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparator.java

                    .max()
                    .orElse(0L);
    
            // Weight = 1 + max downstream weight (similar to Takari Smart Builder)
            return 1L + maxDownstreamWeight;
        }
    
        private String getProjectId(MavenProject project) {
            return project.getGroupId() + ":" + project.getArtifactId() + ":" + project.getVersion();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top