Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for helpers (0.24 sec)

  1. guava-tests/test/com/google/common/collect/ComparatorsTest.java

    import static java.util.Arrays.asList;
    import static java.util.Comparator.comparing;
    import static java.util.Comparator.naturalOrder;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.EqualsTester;
    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Optional;
    import junit.framework.TestCase;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

    package com.google.common.collect;
    
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.Helpers;
    import com.google.common.testing.EqualsTester;
    import java.util.Collections;
    import java.util.Comparator;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 08:42:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Platform.format;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableSet;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/signature-v4.go

    )
    
    // getCanonicalHeaders generate a list of request headers with their values
    func getCanonicalHeaders(signedHeaders http.Header) string {
    	var headers []string
    	vals := make(http.Header)
    	for k, vv := range signedHeaders {
    		k = strings.ToLower(k)
    		headers = append(headers, k)
    		vals[k] = vv
    	}
    	sort.Strings(headers)
    
    	var buf bytes.Buffer
    	for _, k := range headers {
    		buf.WriteString(k)
    		buf.WriteByte(':')
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/DefaultMaven.java

    import org.eclipse.aether.RepositorySystemSession.CloseableSession;
    import org.eclipse.aether.repository.WorkspaceReader;
    import org.eclipse.sisu.Nullable;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.slf4j.helpers.MessageFormatter;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultMaven implements Maven {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  6. Makefile.core.mk

    	cp manifests/charts/istio-control/istio-discovery/templates/configmap.yaml manifests/charts/istiod-remote/templates
    	cp manifests/charts/istio-control/istio-discovery/templates/_helpers.tpl manifests/charts/istiod-remote/templates
    	sed -e '1 i {{- if .Values.global.configCluster }}' -e '$$ a {{- end }}' manifests/charts/base/crds/crd-all.gen.yaml > manifests/charts/istiod-remote/templates/crd-all.gen.yaml
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 26 19:45:17 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_experimental.cc

        TF_DeleteShapeAndTypeList(shape_list_array[i]);
      }
      delete[] shape_list_array;
    }
    
    namespace tensorflow {
    Status TF_TensorToTensor(const TF_Tensor* src, Tensor* dst);
    
    // Helpers for loadding a TensorFlow PluggableDevice plugin (a .so file).
    Status LoadPluggableDeviceLibrary(const char* library_filename, void** result);
    }  // namespace tensorflow
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  8. .space/CODEOWNERS

    /compiler/testData/codegen/composeLikeBytecodeText/ "Kotlin JVM"
    /compiler/testData/codegen/customScript/ "Kotlin Compiler Core"
    /compiler/testData/codegen/defaultArguments/reflection/ "Kotlin JVM"
    /compiler/testData/codegen/helpers/ "Kotlin JVM"
    /compiler/testData/codegen/innerClassInfo/ "Kotlin JVM"
    /compiler/testData/codegen/java6/ "Kotlin JVM"
    /compiler/testData/codegen/kapt/ "Kotlin Compiler Core"
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 19:58:12 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/response-headers.md

    # 响应头
    
    ## 使用 `Response` 参数
    
    你可以在你的*路径操作函数*中声明一个`Response`类型的参数(就像你可以为cookies做的那样)。
    
    然后你可以在这个*临时*响应对象中设置头部。
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/response_headers/tutorial002.py!}
    ```
    
    然后你可以像平常一样返回任何你需要的对象(例如一个`dict`或者一个数据库模型)。如果你声明了一个`response_model`,它仍然会被用来过滤和转换你返回的对象。
    
    **FastAPI**将使用这个临时响应来提取头部(也包括cookies和状态码),并将它们放入包含你返回的值的最终响应中,该响应由任何`response_model`过滤。
    
    你也可以在依赖项中声明`Response`参数,并在其中设置头部(和cookies)。
    
    ## 直接返回 `Response`
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2K bytes
    - Viewed (0)
  10. cmd/api-headers.go

    	w.Header().Set(xhttp.CacheControl, "no-cache") // nginx to turn off buffering
    	w.Header().Set("X-Accel-Buffering", "no")      // nginx to turn off buffering
    }
    
    // Write http common headers
    func setCommonHeaders(w http.ResponseWriter) {
    	// Set the "Server" http header.
    	w.Header().Set(xhttp.ServerInfo, MinioStoreName)
    
    	// Set `x-amz-bucket-region` only if region is set on the server
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
Back to top