Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 6,777 for RETURN (0.05 sec)

  1. guava/src/com/google/common/math/Stats.java

        return Collector.of(
            StatsAccumulator::new,
            (a, x) -> a.add(x.doubleValue()),
            (l, r) -> {
              l.addAll(r);
              return l;
            },
            StatsAccumulator::snapshot,
            Collector.Characteristics.UNORDERED);
      }
    
      /** Returns the number of values. */
      public long count() {
        return count;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

        @Override
        public boolean set(T t) {
          return super.set(t);
        }
    
        @CanIgnoreReturnValue
        @Override
        public boolean setException(Throwable t) {
          return super.setException(t);
        }
      }
    
      enum Impl {
        NEW {
          @Override
          <T> Facade<T> newFacade() {
            return new NewAbstractFutureFacade<T>();
          }
        },
        OLD {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs_src/additional_responses/tutorial002.py

        responses={
            200: {
                "content": {"image/png": {}},
                "description": "Return the JSON item or an image.",
            }
        },
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
            return FileResponse("image.png", media_type="image/png")
        else:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 628 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

        return new UndirectedGraphConnections<>(ImmutableMap.copyOf(adjacentNodeValues));
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(adjacentNodeValues.keySet());
      }
    
      @Override
      public Set<N> predecessors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/AbstractCIFSContext.java

        public AbstractCIFSContext () {
            Runtime.getRuntime().addShutdownHook(this);
        }
    
    
        /**
         * @param creds
         * @return a wrapped context with the given credentials
         */
        @Override
        public CIFSContext withCredentials ( Credentials creds ) {
            return new CIFSContextCredentialWrapper(this, creds);
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  6. chainable_api.go

    	tx.Statement.AddClause(clause.Limit{Offset: offset})
    	return
    }
    
    // Scopes pass current database connection to arguments `func(DB) DB`, which could be used to add conditions dynamically
    //
    //	func AmountGreaterThan1000(db *gorm.DB) *gorm.DB {
    //	    return db.Where("amount > ?", 1000)
    //	}
    //
    //	func OrderStatus(status []string) func (db *gorm.DB) *gorm.DB {
    //	    return func (db *gorm.DB) *gorm.DB {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value a primitive {@code int} value
       * @return a hash code for the value
       */
      public static int hashCode(int value) {
        return value;
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code int} type
       * @return the {@code int} value that equals {@code value}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

          if (charset.equals(this.charset)) {
            return CharSource.this;
          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/server_test.go

    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    	fakeIPSetDeps.On("addIP",
    		"foo-v4",
    		netip.MustParseAddr("2.2.2.2"),
    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    	// List should return one IP not in our "pod snapshot", which means we prune
    	fakeIPSetDeps.On("listEntriesByIP",
    		"foo-v4",
    	).Return([]netip.Addr{
    		netip.MustParseAddr("2.2.2.2"),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. cmd/postpolicyform.go

    	case float64:
    		return int64(v), nil
    	case int64:
    		return v, nil
    	case int:
    		return int64(v), nil
    	case string:
    		i, err := strconv.Atoi(v)
    		return int64(i), err
    	default:
    		return 0, errors.New("Invalid number format")
    	}
    }
    
    // isString - Safely check if val is of type string without causing panic.
    func isString(val interface{}) bool {
    	_, ok := val.(string)
    	return ok
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top