Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 439 for newsize (0.21 sec)

  1. src/go/types/instantiate_test.go

    		{
    			"package differenttypeargs; type T[P any] int",
    			"T", []Type{Typ[Int]},
    			"T", []Type{Typ[String]},
    			false,
    		},
    		{
    			"package typeslice; type T[P any] int",
    			"T", []Type{NewSlice(Typ[Int])},
    			"T", []Type{NewSlice(Typ[Int])},
    			true,
    		},
    		{
    			// interface{interface{...}} is equivalent to interface{...}
    			"package equivalentinterfaces; type T[P any] int",
    			"T", []Type{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. cmd/gotemplate/gotemplate_test.go

    		numSpaces int
    		content   string
    		expected  string
    	}{
    		"empty": {
    			numSpaces: 10,
    			content:   "",
    			expected:  "",
    		},
    		"trailing-newline": {
    			numSpaces: 2,
    			content:   "hello\nworld\n",
    			expected:  "hello\n  world\n  ",
    		},
    		"no-trailing-newline": {
    			numSpaces: 1,
    			content:   "hello\nworld",
    			expected:  "hello\n world",
    		},
    		"zero-indent": {
    			numSpaces: 0,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 22 13:43:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

                    newLine();
                }
                return this;
            }
    
            @Override
            public AnsiContext newLine() {
                int cols = consoleMetaData.getCols();
                int col = (cols > 0) ? writeCursor.col % cols : 0;
                listener.beforeNewLineWritten(this, Cursor.at(writeCursor.row, col));
                delegate.newline();
                newLineWritten(writePos);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      private static final ImmutableMap<Character, String> NO_REPLACEMENTS = ImmutableMap.of();
      private static final ImmutableMap<Character, String> SIMPLE_REPLACEMENTS =
          ImmutableMap.of(
              '\n', "<newline>",
              '\t', "<tab>",
              '&', "<and>");
    
      public void testSafeRange() throws IOException {
        // Basic escaping of unsafe chars (wrap them in {,}'s)
        CharEscaper wrappingEscaper =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 23:02:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            outputs.snapshot { run "mainExecutable" }
    
            when:
            final newFile = file("src/main/${app.sourceType}/changed.${app.sourceExtension}")
            newFile << sourceFile.text
            sourceFile.delete()
    
            and:
            run "mainExecutable"
    
            then:
            outputs.recompiledFile newFile
            objectFileFor(sourceFile).assertDoesNotExist()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/cc_op_gen_util.cc

    string MakeComment(StringPiece text, StringPiece indent) {
      string ret;
      while (!text.empty()) {
        int last_non_space = -1;
        int newline;
        for (newline = 0; newline < static_cast<int>(text.size()); ++newline) {
          if (text[newline] == '\n') break;
          if (text[newline] != ' ') last_non_space = newline;
        }
        if (last_non_space == -1) {
          strings::StrAppend(&ret, indent, "///\n");
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 00:57:05 UTC 2024
    - 25K bytes
    - Viewed (0)
  8. src/syscall/exec_windows_test.go

    		{`C:\Program Files (x32)\Common\`, `"C:\Program Files (x32)\Common\\"`},
    		{`C:\Users\Игорь\`, `C:\Users\Игорь\`},
    		{`Андрей\file`, `Андрей\file`},
    		{`C:\Windows\temp`, `C:\Windows\temp`},
    		{`c:\temp\newfile`, `c:\temp\newfile`},
    		{`\\?\C:\Windows`, `\\?\C:\Windows`},
    		{`\\?\`, `\\?\`},
    		{`\\.\C:\Windows\`, `\\.\C:\Windows\`},
    		{`\\server\share\file`, `\\server\share\file`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/FileBackedBlockStore.java

                if (pos == null) {
                    pos = BlockPointer.pos(alloc(getSize()));
                }
                return pos;
            }
    
            @Override
            public void setPos(BlockPointer pos) {
                assert this.pos == null && !pos.isNull();
                this.pos = pos;
            }
    
            @Override
            public int getSize() {
                if (payloadSize < 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. src/runtime/mksizeclasses.go

    	// sizeToClass won't work.
    	for i := range classes {
    		if i == 0 {
    			continue
    		}
    		c := &classes[i]
    		psize := c.npages * pageSize
    		new_size := (psize / (psize / c.size)) &^ (largeSizeDiv - 1)
    		if new_size > c.size {
    			c.size = new_size
    		}
    	}
    
    	if len(classes) != 68 {
    		panic("number of size classes has changed")
    	}
    
    	for i := range classes {
    		computeDivMagic(&classes[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top