Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for hp (0.03 sec)

  1. src/cmd/compile/internal/walk/range.go

    		// Assign variables on the LHS of the range statement. Use *hp to get the element.
    		e := ir.NewStarExpr(base.Pos, hp)
    		e.SetBounded(true)
    		a := rangeAssign2(nrange, hv1, e)
    		body = append(body, a)
    
    		// Advance pointer for next iteration of the loop.
    		// This reads from hp and writes to hu.
    		huVal = ir.NewConvExpr(base.Pos, ir.OCONVNOP, types.Types[types.TUNSAFEPTR], hp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  2. src/net/hosts.go

    	expire time.Time
    	path   string
    	mtime  time.Time
    	size   int64
    }
    
    func readHosts() {
    	now := time.Now()
    	hp := hostsFilePath
    
    	if now.Before(hosts.expire) && hosts.path == hp && len(hosts.byName) > 0 {
    		return
    	}
    	mtime, size, err := stat(hp)
    	if err == nil && hosts.path == hp && hosts.mtime.Equal(mtime) && hosts.size == size {
    		hosts.expire = now.Add(cacheMaxAge)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  3. pkg/proxy/kubemark/hollow_proxy.go

    			NodeRef: &v1.ObjectReference{
    				Kind:      "Node",
    				Name:      nodeName,
    				UID:       types.UID(nodeName),
    				Namespace: "",
    			},
    		},
    	}
    }
    
    func (hp *HollowProxy) Run() error {
    
    	if err := hp.ProxyServer.Run(context.TODO()); err != nil {
    		return fmt.Errorf("Error while running proxy: %w", err)
    	}
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/net/HostAndPort.java

    /**
     * An immutable representation of a host and port.
     *
     * <p>Example usage:
     *
     * <pre>
     * HostAndPort hp = HostAndPort.fromString("[2001:db8::1]")
     *     .withDefaultPort(80)
     *     .requireBracketsForIPv6();
     * hp.getHost();   // returns "2001:db8::1"
     * hp.getPort();   // returns 80
     * hp.toString();  // returns "[2001:db8::1]:80"
     * </pre>
     *
     * <p>Here are some examples of recognized formats:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/go/doc/comment/html.go

    }
    
    // HTML returns an HTML formatting of the [Doc].
    // See the [Printer] documentation for ways to customize the HTML output.
    func (p *Printer) HTML(d *Doc) []byte {
    	hp := &htmlPrinter{Printer: p}
    	var out bytes.Buffer
    	for _, x := range d.Content {
    		hp.block(&out, x)
    	}
    	return out.Bytes()
    }
    
    // block prints the block x to out.
    func (p *htmlPrinter) block(out *bytes.Buffer, x Block) {
    	switch x := x.(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/HostAndPort.java

    /**
     * An immutable representation of a host and port.
     *
     * <p>Example usage:
     *
     * <pre>
     * HostAndPort hp = HostAndPort.fromString("[2001:db8::1]")
     *     .withDefaultPort(80)
     *     .requireBracketsForIPv6();
     * hp.getHost();   // returns "2001:db8::1"
     * hp.getPort();   // returns 80
     * hp.toString();  // returns "[2001:db8::1]:80"
     * </pre>
     *
     * <p>Here are some examples of recognized formats:
     *
     * <ul>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/types_test.go

    		t.Run(test.desc, func(t *testing.T) {
    			hp := make(HostPortInfo)
    			for _, param := range test.added {
    				hp.Add(param.ip, param.protocol, param.port)
    			}
    			for _, param := range test.removed {
    				hp.Remove(param.ip, param.protocol, param.port)
    			}
    			if hp.Len() != test.length {
    				t.Errorf("%v failed: expect length %d; got %d", test.desc, test.length, hp.Len())
    				t.Error(hp)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/assign.go

    //	      s = s[:n]
    //	    } else {
    //	      s = growslice(T, s.ptr, n, s.cap, l2, T)
    //	    }
    //	    // clear the new portion of the underlying array.
    //	    hp := &s[len(s)-l2]
    //	    hn := l2 * sizeof(T)
    //	    memclr(hp, hn)
    //	  }
    //	}
    //	s
    //
    //	if T has pointers, the final memclr can go inside the "then" branch, as
    //	growslice will have done the clearing for us.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/JvmVendor.java

            APPLE("apple", "Apple"),
            AZUL("azul systems", "Azul Zulu"),
            BELLSOFT("bellsoft", "BellSoft Liberica"),
            GRAAL_VM("graalvm community", "GraalVM Community"),
            HEWLETT_PACKARD("hewlett-packard", "HP-UX"),
            IBM("ibm", "ibm|international business machines corporation", "IBM"),
            JETBRAINS("jetbrains", "JetBrains"),
            MICROSOFT("microsoft", "Microsoft"),
            ORACLE("oracle", "Oracle"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 02 23:55:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/net/http/response.go

    }
    
    // RFC 7234, section 5.4: Should treat
    //
    //	Pragma: no-cache
    //
    // like
    //
    //	Cache-Control: no-cache
    func fixPragmaCacheControl(header Header) {
    	if hp, ok := header["Pragma"]; ok && len(hp) > 0 && hp[0] == "no-cache" {
    		if _, presentcc := header["Cache-Control"]; !presentcc {
    			header["Cache-Control"] = []string{"no-cache"}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top