Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3171 - 3180 of 6,918 for RETURN (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

       */
      public static <V extends @Nullable Object> ListenableFuture<V> listenInPoolThread(
          Future<V> future) {
        if (future instanceof ListenableFuture) {
          return (ListenableFuture<V>) future;
        }
        return new ListenableFutureAdapter<>(future);
      }
    
      /**
       * Submits a blocking task for the given {@link Future} to provide {@link ListenableFuture}
       * functionality.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. cmd/tier-sweeper.go

    // It initializes the versioning information using bucket name.
    func newObjSweeper(bucket, object string) *objSweeper {
    	return &objSweeper{
    		Object: object,
    		Bucket: bucket,
    	}
    }
    
    // WithVersion sets the version ID from v
    func (os *objSweeper) WithVersion(vid string) *objSweeper {
    	os.VersionID = vid
    	return os
    }
    
    // WithVersioning sets bucket versioning for sweeper.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                model.setPomPath(path);
    
                return model;
            }
        }
    
        @Override
        public Model read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                return read(in, null, options);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComLogoffAndX.java

            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
            return new String( "SmbComLogoffAndX[" +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComWriteResponse.java

            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) {
            count = readInt2( buffer, bufferIndex ) & 0xFFFFL;
            return 8;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            return 0;
        }
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  6. docs_src/custom_request_and_route/tutorial003.py

                print(f"route response headers: {response.headers}")
                return response
    
            return custom_route_handler
    
    
    app = FastAPI()
    router = APIRouter(route_class=TimedRoute)
    
    
    @app.get("/")
    async def not_timed():
        return {"message": "Not timed"}
    
    
    @router.get("/timed")
    async def timed():
        return {"message": "It's the time of my life"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. schema/relationship.go

    	conds = append(conds, clause.IN{Column: column, Values: values})
    	return
    }
    
    func copyableDataType(str DataType) bool {
    	for _, s := range []string{"auto_increment", "primary key"} {
    		if strings.Contains(strings.ToLower(string(str)), s) {
    			return false
    		}
    	}
    	return true
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/LongMathBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += LongMath.pow(positive[j], exponents[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int mod(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += LongMath.mod(longs[j], positive[j]);
        }
        return tmp;
      }
    
      @Benchmark
      int gCD(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

        private final Map<Resource, Long> transfers;
    
        public static TransferListener newAdapter(ArtifactTransferListener listener) {
            if (listener == null) {
                return null;
            } else {
                return new TransferListenerAdapter(listener);
            }
        }
    
        private TransferListenerAdapter(ArtifactTransferListener listener) {
            this.listener = listener;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. internal/bucket/bandwidth/reader.go

    		tokens = av
    		need = int(math.Min(float64(tokens), float64(need)))
    	}
    	err = r.throttle.WaitN(r.ctx, tokens)
    	if err != nil {
    		return
    	}
    	n, err = r.r.Read(buf[:need])
    	if err != nil {
    		r.lastErr = err
    		return
    	}
    	r.m.updateMeasurement(r.opts.BucketOptions, uint64(tokens))
    	return
    }
    
    // NewMonitoredReader returns reference to a monitored reader that throttles reads to configured bandwidth for the
    // bucket.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 14:57:31 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top