Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for uspace (0.27 sec)

  1. src/strings/strings_test.go

    		"not " + p.name,
    	}
    }
    
    var trimFuncTests = []struct {
    	f        predicate
    	in       string
    	trimOut  string
    	leftOut  string
    	rightOut string
    }{
    	{isSpace, space + " hello " + space,
    		"hello",
    		"hello " + space,
    		space + " hello"},
    	{isDigit, "\u0e50\u0e5212hello34\u0e50\u0e51",
    		"hello",
    		"hello34\u0e50\u0e51",
    		"\u0e50\u0e5212hello"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	return predicate{
    		func(r rune) bool {
    			return !p.f(r)
    		},
    		"not " + p.name,
    	}
    }
    
    var trimFuncTests = []TrimFuncTest{
    	{isSpace, space + " hello " + space,
    		[]byte("hello"),
    		[]byte("hello " + space),
    		[]byte(space + " hello")},
    	{isDigit, "\u0e50\u0e5212hello34\u0e50\u0e51",
    		[]byte("hello"),
    		[]byte("hello34\u0e50\u0e51"),
    		[]byte("\u0e50\u0e5212hello")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. src/encoding/xml/marshal_test.go

    		StartElement{Name{"", "foo"}, []Attr{
    			{Name{"space1", "a"}, "space1 value"},
    			{Name{"space2", "b"}, "space2 value"},
    		}},
    	},
    	want: `<foo xmlns:_xmlns="xmlns" _xmlns:x="space1"><foo _xmlns:x="space2"><foo xmlns:space1="space1" space1:a="space1 value" xmlns:space2="space2" space2:b="space2 value"></foo></foo><foo xmlns:space1="space1" space1:a="space1 value" xmlns:space2="space2" space2:b="space2 value">`,
    }, {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  4. src/fmt/fmt_test.go

    	}
    }
    
    func TestIsSpace(t *testing.T) {
    	// This tests the internal isSpace function.
    	// IsSpace = isSpace is defined in export_test.go.
    	for i := rune(0); i <= unicode.MaxRune; i++ {
    		if IsSpace(i) != unicode.IsSpace(i) {
    			t.Errorf("isSpace(%U) = %v, want %v", i, IsSpace(i), unicode.IsSpace(i))
    		}
    	}
    }
    
    func hideFromVet(s string) string { return s }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  5. src/regexp/testdata/testregex.c

    			bad("out of space [discipline string stream]\n", NiL, NiL, 0, 0);
    		preg.re_disc = &state.disc.disc;
    #endif
    		if (test & TEST_CATCH)
    		{
    			signal(SIGALRM, gotcha);
    			signal(SIGBUS, gotcha);
    			signal(SIGSEGV, gotcha);
    		}
    		while (p = getline(fp))
    		{
    
    		/* parse: */
    
    			line = p;
    			if (*p == ':' && !isspace(*(p + 1)))
    			{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  6. src/runtime/malloc.go

    	// provide addresses outside of those 33 bits. Pick 40 bits
    	// as a reasonable balance between address space usage by the
    	// page allocator, and flexibility for what mmap'd regions
    	// we'll accept for the heap. We can't just move to the full
    	// 48 bits because this uses too much address space for older
    	// iOS versions.
    	// TODO(mknyszek): Once iOS <14 is deprecated, promote ios/arm64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    			return 0, false
    		}
    
    		if uintptr(av) == h.curArena.end {
    			// The new space is contiguous with the old
    			// space, so just extend the current space.
    			h.curArena.end = uintptr(av) + asize
    		} else {
    			// The new space is discontiguous. Track what
    			// remains of the current space and switch to
    			// the new space. This should be rare.
    			if size := h.curArena.end - h.curArena.base; size != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        // six-per-em space
        assertThat(parse("http://h/\u2006").encodedPath).isEqualTo("/%E2%80%86")
        // figure space
        assertThat(parse("http://h/\u2007").encodedPath).isEqualTo("/%E2%80%87")
        // punctuation space
        assertThat(parse("http://h/\u2008").encodedPath).isEqualTo("/%E2%80%88")
        // thin space
        assertThat(parse("http://h/\u2009").encodedPath).isEqualTo("/%E2%80%89")
        // hair space
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  9. src/runtime/mbitmap.go

    		}
    		// Handle the case where we have no malloc header.
    		scanSize = span.writeHeapBitsSmall(x, dataSize, typ)
    	} else {
    		if typ.Kind_&abi.KindGCProg != 0 {
    			// Allocate space to unroll the gcprog. This space will consist of
    			// a dummy _type value and the unrolled gcprog. The dummy _type will
    			// refer to the bitmap, and the mspan will refer to the dummy _type.
    			if span.spanclass.sizeclass() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/css/manual.css

    code,
    kbd,
    pre,
    samp {
    	font-family: monospace, serif;
    	font-size: 1em;
    }
    
    /** Improve readability of pre-formatted text in all browsers. */
    pre {
    	white-space: pre-wrap;
    }
    
    /** Set consistent quote types. */
    q {
    	quotes: "\201C""\201D""\2018""\2019";
    }
    
    /** Address inconsistent and variable font size in all browsers. */
    small {
    	font-size: 80%;
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 05:15:02 UTC 2024
    - 72.6K bytes
    - Viewed (0)
Back to top