Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 195 for 012345678 (0.26 sec)

  1. test/fixedbugs/issue10607.go

    )
    
    func main() {
    	test("internal")
    	test("external") // The 'cgo' build constraint should imply that a linker is available.
    }
    
    func test(linkmode string) {
    	out, err := exec.Command("go", "run", "-ldflags", "-B=0x12345678 -linkmode="+linkmode, filepath.Join("fixedbugs", "issue10607a.go")).CombinedOutput()
    	if err != nil {
    		fmt.Printf("BUG: linkmode=%s %v\n%s\n", linkmode, err, out)
    		os.Exit(1)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 776 bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_termination_order_test.go

    )
    
    func TestTerminationOrderingSidecarStopAfterMain(t *testing.T) {
    	restartPolicy := v1.ContainerRestartPolicyAlways
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "bar",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			InitContainers: []v1.Container{
    				{
    					Name:            "init",
    					Image:           "busybox",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 00:07:21 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/net/mac_test.go

    	{"01:02:03:04:05006", nil, "invalid MAC address"},
    	{"01-02:03:04:05:06", nil, "invalid MAC address"},
    	{"01:02-03-04-05-06", nil, "invalid MAC address"},
    	{"0123:4567:89AF", nil, "invalid MAC address"},
    	{"0123-4567-89AF", nil, "invalid MAC address"},
    }
    
    func TestParseMAC(t *testing.T) {
    	match := func(err error, s string) bool {
    		if s == "" {
    			return err == nil
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 27 02:36:14 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. src/text/template/parse/lex.go

    func (l *lexer) scanNumber() bool {
    	// Optional leading sign.
    	l.accept("+-")
    	// Is it hex?
    	digits := "0123456789_"
    	if l.accept("0") {
    		// Note: Leading 0 does not mean octal in floats.
    		if l.accept("xX") {
    			digits = "0123456789abcdefABCDEF_"
    		} else if l.accept("oO") {
    			digits = "01234567_"
    		} else if l.accept("bB") {
    			digits = "01_"
    		}
    	}
    	l.acceptRun(digits)
    	if l.accept(".") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  5. src/cmd/internal/edit/edit_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package edit
    
    import "testing"
    
    func TestEdit(t *testing.T) {
    	b := NewBuffer([]byte("0123456789"))
    	b.Insert(8, ",7½,")
    	b.Replace(9, 10, "the-end")
    	b.Insert(10, "!")
    	b.Insert(4, "3.14,")
    	b.Insert(4, "π,")
    	b.Insert(4, "3.15,")
    	b.Replace(3, 4, "three,")
    	want := "012three,3.14,π,3.15,4567,7½,8the-end!"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 14:59:26 UTC 2017
    - 653 bytes
    - Viewed (0)
  6. test/rotate.go

    	}
    }
    
    const prolog = `
    
    package main
    
    import (
    	"fmt"
    	"os"
    )
    
    var (
    	i8 int8 = 0x12
    	i16 int16 = 0x1234
    	i32 int32 = 0x12345678
    	i64 int64 = 0x123456789abcdef0
    	ui8 uint8 = 0x12
    	ui16 uint16 = 0x1234
    	ui32 uint32 = 0x12345678
    	ui64 uint64 = 0x123456789abcdef0
    
    	ni8 = ^i8
    	ni16 = ^i16
    	ni32 = ^i32
    	ni64 = ^i64
    	nui8 = ^ui8
    	nui16 = ^ui16
    	nui32 = ^ui32
    	nui64 = ^ui64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramTextTest.kt

    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.MatcherAssert.assertThat
    
    import org.junit.Test
    
    
    class ProgramTextTest {
    
        @Test
        fun `preserve`() {
    
            val text = text("0123456789")
            assertThat(
                text.preserve(0..1),
                equalTo(text("01        "))
            )
    
            assertThat(
                text.preserve(0..1, 7..9),
                equalTo(text("01     789"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. src/html/template/url_test.go

    	}
    }
    
    func TestURLFilters(t *testing.T) {
    	input := ("\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f" +
    		"\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f" +
    		` !"#$%&'()*+,-./` +
    		`0123456789:;<=>?` +
    		`@ABCDEFGHIJKLMNO` +
    		`PQRSTUVWXYZ[\]^_` +
    		"`abcdefghijklmno" +
    		"pqrstuvwxyz{|}~\x7f" +
    		"\u00A0\u0100\u2028\u2029\ufeff\U0001D11E")
    
    	tests := []struct {
    		name    string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  9. test/fixedbugs/bug320.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	c := make(chan int, 1)
    	dummy := make(chan int)
    	v := 0x12345678
    	for i := 0; i < 10; i++ {
    		// 6g had a bug that caused select to pass &t to
    		// selectrecv before allocating the memory for t,
    		// which caused non-deterministic crashes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 963 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        sink.putByte((byte) 1);
        sink.putBytes(new byte[] {2, 3, 4, 5, 6});
        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top