Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1441 - 1450 of 1,926 for Add (0.09 sec)

  1. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/net/PercentEscaperTest.java

        assertEquals("string+with+spaces", plusForSpaceEscaper.escape("string with spaces"));
        assertEquals("string with spaces", spaceEscaper.escape("string with spaces"));
      }
    
      /** Tests that if we add extra 'safe' characters they remain unescaped */
      public void testCustomEscaper() {
        UnicodeEscaper e = new PercentEscaper("+*/-", false);
        for (char c = 0; c < 128; c++) {
          if ((c >= '0' && c <= '9')
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

        }
    
        @Test
        void testThroughputCalculation() {
            long initialThroughput = channelInfo.getThroughput();
            assertEquals(0, initialThroughput);
    
            // Add some data transfer
            channelInfo.addBytesSent(1000);
            channelInfo.addBytesReceived(2000);
    
            // Wait a bit to ensure time passes
            try {
                Thread.sleep(10);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  4. mockwebserver/README.md

    from your test's `tearDown()`.
    
    ### API
    
    #### MockResponse
    
    Mock responses default to an empty response body and a `200` status code.
    You can set a custom body with a string, input stream or byte array. Also
    add headers with a fluent builder API.
    
    ### Java
    ```java
    MockResponse response = new MockResponse.Builder()
        .addHeader("Content-Type", "application/json; charset=utf-8")
        .addHeader("Cache-Control", "no-cache")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/impl/PropertyDescImplTest.java

                this.kkk = kkk;
            }
    
            /**
             * @param arg1
             * @param arg2
             * @return Number
             */
            public Number add(final Number arg1, final Number arg2) {
                return Integer.valueOf(3);
            }
    
            /**
             * @return BigDecimal
             */
            public BigDecimal getGgg() {
                return ggg_;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/cmd/api/api_test.go

    			w.Features()
    		}
    	}
    }
    
    var warmupCache = sync.OnceFunc(func() {
    	// Warm up the import cache in parallel.
    	var wg sync.WaitGroup
    	for _, context := range contexts {
    		context := context
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			_ = NewWalker(context, filepath.Join(testenv.GOROOT(nil), "src"))
    		}()
    	}
    	wg.Wait()
    })
    
    func TestIssue21181(t *testing.T) {
    	if testing.Short() {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri May 02 17:06:27 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                    if (obj instanceof List) {
                        @SuppressWarnings("unchecked")
                        final List<String> list = (List<String>) obj;
                        list.add(buffer.toString());
                    }
                }
            }
    
            @Override
            public void endDocument() {
                // nothing
            }
    
            /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. cmd/encryption-v1.go

    			if err != nil {
    				return err
    			}
    		}
    
    		// If the context does not contain the bucket key
    		// we must add it for key generation. However,
    		// the context must be stored exactly like the
    		// client provided it. Therefore, we create a copy
    		// of the client provided context and add the bucket
    		// key, if not present.
    		kmsCtx := kms.Context{}
    		maps.Copy(kmsCtx, cryptoCtx)
    		if _, ok := kmsCtx[bucket]; !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_test.go

    	restored := make(map[string]string)
    	restored[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(time.Hour)).String()
    
    	restoredExpired := make(map[string]string)
    	restoredExpired[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(-time.Hour)).String()
    
    	testCases := []struct {
    		xlmeta xlMetaV2Object
    		uses   bool
    	}{
    		{ // transitioned object version
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  10. okhttp/api/jvm/okhttp.api

    }
    
    public final class okhttp3/Headers$Builder {
    	public fun <init> ()V
    	public final fun add (Ljava/lang/String;)Lokhttp3/Headers$Builder;
    	public final fun add (Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$Builder;
    	public final fun add (Ljava/lang/String;Ljava/time/Instant;)Lokhttp3/Headers$Builder;
    	public final fun add (Ljava/lang/String;Ljava/util/Date;)Lokhttp3/Headers$Builder;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top