Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2761 - 2770 of 5,001 for fstring (0.04 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

        val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute()
    
        assertThat(response.header("Content-Encoding")).isNull()
        assertThat(response.body.string()).isEqualTo("Hello")
      }
    
      private fun gzip(data: String): Buffer {
        val result = Buffer()
        val sink = GzipSink(result).buffer()
        sink.writeUtf8(data)
        sink.close()
        return result
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Listens to the resolution process and handles events.
     */
    @Deprecated
    public interface ResolutionListener {
        String ROLE = ResolutionListener.class.getName();
    
        int TEST_ARTIFACT = 1;
    
        int PROCESS_CHILDREN = 2;
    
        int FINISH_PROCESSING_CHILDREN = 3;
    
        int INCLUDE_ARTIFACT = 4;
    
        int OMIT_FOR_NEARER = 5;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
    
            // Execute
            String result = purgeLogJob.execute();
    
            // Assert all services were called
            assertTrue(deleteCrawlingInfoCalled[0]);
            assertTrue(deleteSearchLogCalled[0]);
            assertTrue(deleteJobLogCalled[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format_test.go

    	xlMeta.Stat = StatInfo{
    		Size:    int64(20),
    		ModTime: UTCNow(),
    	}
    	// Set meta data.
    	xlMeta.Meta = make(map[string]string)
    	xlMeta.Meta["testKey1"] = "val1"
    	xlMeta.Meta["testKey2"] = "val2"
    	return xlMeta
    }
    
    func (m *xlMetaV1Object) AddTestObjectCheckSum(partNumber int, algorithm BitrotAlgorithm, hash string) {
    	checksum, err := hex.DecodeString(hash)
    	if err != nil {
    		panic(err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/curl/Curl.java

        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
        /**
         * Creates a new CurlRequest with the DELETE method for the specified URL.
         *
         * @param url the URL to which the DELETE request will be sent
         * @return a CurlRequest object configured with the DELETE method and the specified URL
         */
        public static CurlRequest delete(final String url) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.tryParse("\u0662\u06f3")).isNull();
      }
    
      /**
       * Applies {@link Ints#tryParse(String)} to the given string and asserts that the result is as
       * expected.
       */
      private static void tryParseAndAssertEquals(Integer expected, String value) {
        assertThat(Ints.tryParse(value)).isEqualTo(expected);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  7. cmd/erasure-healing-common_test.go

    	erasureDisks = s.getDisks()
    	diskFailures := make(map[int]string)
    	diskFailures[0] = "part.1"
    	diskFailures[3] = "part.1"
    	diskFailures[15] = "part.1"
    
    	for diskIndex, partName := range diskFailures {
    		for i := range partsMetadata[diskIndex].Parts {
    			if fmt.Sprintf("part.%d", i+1) == partName {
    				filePath := pathJoin(erasureDisks[diskIndex].String(), bucket, object, partsMetadata[diskIndex].DataDir, partName)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       *
       * <p>The default implementation returns a new {@link Executor} that sets the name of its threads
       * to the string returned by {@link #serviceName}
       */
      protected Executor executor() {
        return command -> newThread(serviceName(), command).start();
      }
    
      @Override
      public String toString() {
        return serviceName() + " [" + state() + "]";
      }
    
      @Override
      public final boolean isRunning() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/ACE.java

            return size;
        }
    
        void appendCol(final StringBuffer sb, final String str, final int width) {
            sb.append(str);
            final int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
    
        /**
         * Return a string represeting this ACE.
         * <p>
         * Note: This function should probably be changed to return SDDL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        boolean run = false;
    
        @Override
        public void run() {
          run = true;
        }
      }
    
      private static class TestCallable implements Callable<String> {
        @Override
        public String call() {
          return "foo";
        }
      }
    
      /** Simple same thread listening executor service that doesn't handle shutdown. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top