Search Options

Results per page
Sort
Preferred Languages
Advance

Results 821 - 830 of 6,596 for _return (0.17 sec)

  1. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      }
    
      char getLeafNodeCode() {
        return leafNodeCode;
      }
    
      char getInnerNodeCode() {
        return innerNodeCode;
      }
    
      /** Returns a PublicSuffixType of the right type according to the given code */
      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 10 15:48:57 UTC 2020
    - 2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
          public Appendable append(char c) throws IOException {
            a.append(c);
            return this;
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharStreamsTest.java

            a.append(csq);
            return this;
          }
    
          @Override
          public Appendable append(CharSequence csq, int start, int end) throws IOException {
            a.append(csq, start, end);
            return this;
          }
    
          @Override
          public Appendable append(char c) throws IOException {
            a.append(c);
            return this;
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. cmd/bucket-stats.go

    	l.forwardTo(min)
    	for _, elem := range l.Totals[:] {
    		res.merge(elem)
    	}
    	return res
    }
    
    // forwardTo time t, clearing any entries in between.
    func (l *ReplicationLastHour) forwardTo(t int64) {
    	if l.LastMin >= t {
    		return
    	}
    	if t-l.LastMin >= 60 {
    		l.Totals = [60]AccElem{}
    		return
    	}
    	for l.LastMin != t {
    		// Clear next element.
    		idx := (l.LastMin + 1) % 60
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/UrlEscapers.java

       *
       */
      public static Escaper urlFormParameterEscaper() {
        return URL_FORM_PARAMETER_ESCAPER;
      }
    
      private static final Escaper URL_FORM_PARAMETER_ESCAPER =
          new PercentEscaper(URL_FORM_PARAMETER_OTHER_SAFE_CHARS, true);
    
      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

                    T mock = mock(forwarderClass, CALLS_REAL_METHODS);
                    try {
                      T stubber = doReturn(delegate).when(mock);
                      DELEGATE_METHOD.invoke(stubber);
                    } catch (Exception e) {
                      throw new RuntimeException(e);
                    }
                    return mock;
                  }
                });
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. cmd/leak-detect_test.go

    			t.Errorf("Leaked goroutine: %v", g)
    		}
    		return
    	}
    }
    
    // DetectTestLeak -  snapshots the currently running goroutines and returns a
    // function to be run at the end of tests to see whether any
    // goroutines leaked.
    // Usage: `defer DetectTestLeak(t)()` in beginning line of benchmarks or unit tests.
    func DetectTestLeak(t TestErrHandler) func() {
    	initialStackSnapShot := NewLeakDetect()
    	return func() {
    		initialStackSnapShot.DetectLeak(t)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        return refreshNanos > 0;
      }
    
      boolean usesAccessQueue() {
        return expiresAfterAccess() || evictsBySize();
      }
    
      boolean usesWriteQueue() {
        return expiresAfterWrite();
      }
    
      boolean recordsWrite() {
        return expiresAfterWrite() || refreshes();
      }
    
      boolean recordsAccess() {
        return expiresAfterAccess();
      }
    
      boolean recordsTime() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. cmd/generic-handlers_contrib.go

     * limitations under the License.
     */
    
    package cmd
    
    import (
    	"net/http"
    	"strings"
    )
    
    // guessIsLoginSTSReq - returns true if incoming request is Login STS user
    func guessIsLoginSTSReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	return strings.HasPrefix(req.URL.Path, loginPathPrefix) ||
    		(req.Method == http.MethodPost && req.URL.Path == SlashSeparator &&
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 30 15:50:39 UTC 2021
    - 995 bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

            Set<Entry<K, V>> entries) {
          return new ForwardingSet<Map.Entry<K, V>>() {
            @Override
            protected Set<Entry<K, V>> delegate() {
              return entries;
            }
    
            @Override
            public Iterator<Entry<K, V>> iterator() {
              return UnmodifiableEntry.transformEntries(super.iterator());
            }
    
            @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top