Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4021 - 4030 of 4,989 for STRING (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

          if (auth != null) {
            val credentialHeader = if (proxyAuthorization) "Proxy-Authorization" else "Authorization"
            val credential =
              Credentials.basic(
                auth.userName,
                String(auth.password),
                challenge.charset,
              )
            return request
              .newBuilder()
              .header(credentialHeader, credential)
              .build()
          }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.internal.platform.Platform.Companion.isAndroid
    import org.junit.jupiter.api.Test
    
    class MediaTypeJvmTest : MediaTypeGetTest() {
      override fun MediaType.charsetName(): String? = this.charset()?.name()
    
      @Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() {
        val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType()
        if (isAndroid) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractRangeSet.java

        }
        return false;
      }
    
      @Override
      public final int hashCode() {
        return asRanges().hashCode();
      }
    
      @Override
      public final String toString() {
        return asRanges().toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeParameter.java

        if (o instanceof TypeParameter) {
          TypeParameter<?> that = (TypeParameter<?>) o;
          return typeVariable.equals(that.typeVariable);
        }
        return false;
      }
    
      @Override
      public String toString() {
        return typeVariable.toString();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
                server = "\\\\";
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

            bufferIndex += 4;
    
            this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
            return ("SmbInfoAllocation[" + "alloc=" + this.alloc + ",free=" + this.free + ",sectPerAlloc=" + this.sectPerAlloc
                    + ",bytesPerSect=" + this.bytesPerSect + "]");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/lang/ClassLoaderUtilTest.java

                Thread.currentThread().setContextClassLoader(context);
            }
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetResources() throws Exception {
            final String name = TestCase.class.getName().replace('.', '/') + ".class";
            final Iterator<URL> itr = ClassLoaderUtil.getResources(this.getClass(), name);
            assertThat(itr, is(notNullValue()));
            final URL url = itr.next();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

         * Helper filter that records the last file passed to it. Useful for
         * verifying interaction.
         */
        private class RecordingFilter implements SmbFileFilter {
            private SmbFile lastFile;
            private String lastPath;
    
            @Override
            public boolean accept(SmbFile file) throws SmbException {
                lastFile = file;
                // Actually interact with the file to verify the mock interaction
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

         * @param allResults List of results from all attempted requests in the batch
         */
        public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException(
                String message, List<RequestResult<REQ, REP>> allResults) {
            super(message);
            this.results = List.copyOf(allResults);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

            lhaExtractor = container.getComponent("lhaExtractor");
    
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/lha/test.lzh");
            final String content = lhaExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertTrue(content.contains("テキスト"));
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top