Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 238 for copied (0.15 sec)

  1. internal/rest/client.go

    // as mandated by RFC 3986 Section 6.2.3.
    func removeEmptyPort(host string) string {
    	if hasPort(host) {
    		return strings.TrimSuffix(host, ":")
    	}
    	return host
    }
    
    // Copied from http.NewRequest but implemented to ensure we reuse `url.URL` instance.
    func (c *Client) newRequest(ctx context.Context, u url.URL, body io.Reader) (*http.Request, error) {
    	rc, ok := body.(io.ReadCloser)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/FileToRawModelMerger.java

    import org.apache.maven.api.model.Reporting;
    import org.apache.maven.model.v4.MavenMerger;
    
    /**
     * As long as Maven controls the BuildPomXMLFilter, the entities that need merging are known.
     * All others can simply be copied from source to target to restore the locationTracker
     *
     * @since 4.0.0
     */
    class FileToRawModelMerger extends MavenMerger {
    
        @Override
        protected void mergeBuild_Extensions(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/podcgroupns_test.go

    	}
    
    	expectedUID := "863b91d4-4b68-4efa-917f-4b560e3e86aa"
    	if podUIDNetns[expectedUID] == (WorkloadInfo{}) {
    		t.Fatal("expected to find pod netns under pod uid")
    	}
    }
    
    // copied and modified from spire
    
    func TestGetContainerIDFromCGroups(t *testing.T) {
    	makeCGroups := func(groupPaths []string) []Cgroup {
    		var out []Cgroup
    		for _, groupPath := range groupPaths {
    			out = append(out, Cgroup{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * 例えばJavaBeans側のデリミタにアンダースコア、{@link Map}側のデリミタにピリオドを指定した場合、
         * コピー元とコピー先のプリパティ名は次のようになります。
         * </p>
         * <table border="1">
         * <caption>Copied JavaBeans Properties</caption>
         * <tr>
         * <th>JavaBeansのプロパティ名</th>
         * <th>{@literal Map}のプロパティ名</th>
         * </tr>
         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/resource/v1alpha2/generated.proto

    message ResourceClaimTemplateSpec {
      // ObjectMeta may contain labels and annotations that will be copied into the PVC
      // when creating it. No other fields are allowed and will be rejected during
      // validation.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Spec for the ResourceClaim. The entire content is copied unchanged
      // into the ResourceClaim that gets created from this template. The
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/SmallCharMatcher.java

       */
      static int smear(int hashCode) {
        return C2 * Integer.rotateLeft(hashCode * C1, 15);
      }
    
      private boolean checkFilter(int c) {
        return 1 == (1 & (filter >> c));
      }
    
      // This is all essentially copied from ImmutableSet, but we have to duplicate because
      // of dependencies.
    
      // Represents how tightly we can pack things, as a maximum.
      private static final double DESIRED_LOAD_FACTOR = 0.5;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

        // Make sure to get an unmodifiable iterator
        return new MinimalIterable<>(Arrays.asList(elements).iterator());
      }
    
      /**
       * Returns an iterable whose iterator returns the given elements in order. The elements are copied
       * out of the source collection at the time this method is called.
       */
      @SuppressWarnings("unchecked") // Es come in, Es go out
      public static <E extends @Nullable Object> MinimalIterable<E> from(Collection<E> elements) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables_linux.go

    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    		//
    		// TODO largely identical/copied from tools/istio-iptables/pkg/capture/run_linux.go
    		inpodMarkRule := netlink.NewRule()
    		inpodMarkRule.Family = family
    		inpodMarkRule.Table = RouteTableInbound
    		inpodMarkRule.Mark = InpodTProxyMark
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ArrayListMultimap.java

       *
       * <p>This method will soon be deprecated in favor of {@code
       * MultimapBuilder.hashKeys().arrayListValues().build(multimap)}.
       *
       * @param multimap the multimap whose contents are copied to this multimap
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          ArrayListMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) {
        return new ArrayListMultimap<>(multimap);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/erasure-coding.go

    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top