Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 982 for functies (0.17 sec)

  1. cmd/object-api-utils.go

    type GetObjectReader struct {
    	io.Reader
    	ObjInfo    ObjectInfo
    	cleanUpFns []func()
    	once       sync.Once
    }
    
    // WithCleanupFuncs sets additional cleanup functions to be called when closing
    // the GetObjectReader.
    func (g *GetObjectReader) WithCleanupFuncs(fns ...func()) *GetObjectReader {
    	g.cleanUpFns = append(g.cleanUpFns, fns...)
    	return g
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. dockerscripts/download-static-curl.sh

    #!/bin/bash
    
    function download_arch_specific_executable {
    	curl -f -L -s -q \
    		https://github.com/moparisthebest/static-curl/releases/latest/download/curl-$1 \
    		-o /go/bin/curl || exit 1
    	chmod +x /go/bin/curl
    }
    
    case $TARGETARCH in
    "arm64")
    	download_arch_specific_executable aarch64
    	;;
    "s390x")
    	echo "Not downloading static cURL because it does not exist for the $TARGETARCH architecture."
    	;;
    *)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 15:45:19 UTC 2024
    - 461 bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/LineBufferTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Lists;
    import java.io.BufferedReader;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/LineBufferTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    
    import com.google.common.base.Function;
    import com.google.common.collect.Lists;
    import java.io.BufferedReader;
    import java.io.FilterReader;
    import java.io.IOException;
    import java.io.Reader;
    import java.io.StringReader;
    import java.nio.CharBuffer;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/Striped64.java

      }
    
      /**
       * Computes the function of current and new value. Subclasses should open-code this update
       * function for most uses, but the virtualized form is needed within retryUpdate.
       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. docs_src/generate_clients/tutorial004.js

    import * as fs from 'fs'
    
    async function modifyOpenAPIFile(filePath) {
      try {
        const data = await fs.promises.readFile(filePath)
        const openapiContent = JSON.parse(data)
    
        const paths = openapiContent.paths
        for (const pathKey of Object.keys(paths)) {
          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 14 11:40:05 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. docs_src/path_operation_advanced_configuration/tutorial002.py

    @app.get("/items/")
    async def read_items():
        return [{"item_id": "Foo"}]
    
    
    def use_route_names_as_operation_ids(app: FastAPI) -> None:
        """
        Simplify operation IDs so that generated API clients have simpler function
        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 572 bytes
    - Viewed (0)
  9. cmd/erasure-metadata-utils.go

    	var zero T
    	for x, count := range c {
    		if count >= quorum {
    			return x, true
    		}
    	}
    	return zero, false
    }
    
    // figure out the most commonVersions across disk that satisfies
    // the 'writeQuorum' this function returns "" if quorum cannot
    // be achieved and disks have too many inconsistent versions.
    func reduceCommonVersions(diskVersions [][]byte, writeQuorum int) (versions []byte) {
    	diskVersionsCount := make(map[uint64]int)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top