Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 6,449 for _return (0.1 sec)

  1. android/guava/src/com/google/common/collect/AbstractMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMapEntry.java

          Entry<?, ?> that = (Entry<?, ?>) object;
          return Objects.equal(this.getKey(), that.getKey())
              && Objects.equal(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

              result.addLenient(fieldName, networkHeaders.value(index))
            }
          }
    
          return result.build()
        }
    
        /**
         * Returns true if [fieldName] is an end-to-end HTTP header, as defined by RFC 2616,
         * 13.5.1.
         */
        private fun isEndToEnd(fieldName: String): Boolean {
          return !"Connection".equals(fieldName, ignoreCase = true) &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Mar 22 07:09:21 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/bucket-quota.go

    			return quotaCfg, fmt.Errorf("invalid quota type 'fifo'")
    		}
    		return quotaCfg, fmt.Errorf("Invalid quota config %#v", quotaCfg)
    	}
    	return
    }
    
    func (sys *BucketQuotaSys) enforceQuotaHard(ctx context.Context, bucket string, size int64) error {
    	if size < 0 {
    		return nil
    	}
    
    	q, err := sys.Get(ctx, bucket)
    	if err != nil {
    		return err
    	}
    
    	var quotaSize uint64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. internal/s3select/sql/stringfuncs.go

    		if len(text) == len(res) {
    			return "", false
    		}
    	} else {
    		parts := strings.SplitN(text, pat, 2)
    		if len(parts) == 1 {
    			return "", false
    		}
    		res = parts[1]
    	}
    	return res, true
    }
    
    func dropRune(text string) (res string, ok bool) {
    	r := []rune(text)
    	if len(r) == 0 {
    		return "", false
    	}
    	return string(r[1:]), true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

            return Sets.unmodifiableNavigableSet((NavigableSet<E>) collection);
          } else if (collection instanceof SortedSet) {
            return Collections.unmodifiableSortedSet((SortedSet<E>) collection);
          } else if (collection instanceof Set) {
            return Collections.unmodifiableSet((Set<E>) collection);
          } else if (collection instanceof List) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceLocator.java

         * 
         * @return URL to the DFS volume
         */
        String getDfsPath ();
    
    
        /**
         * @return the transport port, if specified
         */
        int getPort ();
    
    
        /**
         * @return the original URL
         */
        URL getURL ();
    
    
        /**
         * @return resolved server address
         * @throws CIFSException
         */
        Address getAddress () throws CIFSException;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

      public void testAddAll_supportedNothing() {
        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
              "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/NetworkBuilder.java

        super(directed);
      }
    
      /** Returns a {@link NetworkBuilder} for building directed networks. */
      public static NetworkBuilder<Object, Object> directed() {
        return new NetworkBuilder<>(true);
      }
    
      /** Returns a {@link NetworkBuilder} for building undirected networks. */
      public static NetworkBuilder<Object, Object> undirected() {
        return new NetworkBuilder<>(false);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  10. internal/s3select/sql/timestampfuncs.go

    	hasMonth := t.Month() != 1
    
    	switch {
    	case hasFracSecond:
    		return t.Format(layoutNanosecond)
    	case hasSecond:
    		return t.Format(layoutSecond)
    	case hasTime || hasZone:
    		return t.Format(layoutMinute)
    	case hasDay:
    		return t.Format(layoutDay)
    	case hasMonth:
    		return t.Format(layoutMonth)
    	default:
    		return t.Format(layoutYear)
    	}
    }
    
    const (
    	timePartYear           = "YEAR"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 4.8K bytes
    - Viewed (0)
Back to top