Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 439 for newsize (0.12 sec)

  1. cmd/storage-rest_test.go

    		// Test some weird characters over the wire.
    		{"foo", "newline\n", testData, false, true},
    		{"foo", "newline\t", testData, false, true},
    		{"foo", "newline \n", testData, false, true},
    		{"foo", "newline$$$\n", testData, false, true},
    		{"foo", "newline%%%\n", testData, false, true},
    		{"foo", "newline \t % $ & * ^ # @ \n", testData, false, true},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/slices/slices.go

    	if hi, lo := bits.Mul(uint(len(x)), uint(count)); hi > 0 || lo > maxInt {
    		panic("the result of (len(x) * count) overflows")
    	}
    
    	newslice := make(S, len(x)*count)
    	n := copy(newslice, x)
    	for n < len(newslice) {
    		n += copy(newslice[n:], newslice[:n])
    	}
    	return newslice
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. testing/integ-test/src/integTest/groovy/org/gradle/integtests/StdioIntegrationTest.groovy

            buildFile << '''
    task echo {
        doLast {
            def reader = new BufferedReader(new InputStreamReader(System.in))
            while (true) {
                def line = reader.readLine() // readline will chomp the newline off the end
                if (!line) {
                    break
                }
                print "[$line]"
            }
        }
    }
    '''
            executer.withStdinPipe(new PipedOutputStream() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 30 05:02:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/internal/fuzz/sys_windows.go

    		return workerComm{}, fmt.Errorf("parsing GO_TEST_FUZZ_WORKER_HANDLES=%s: %v", v, err)
    	}
    
    	fuzzIn := os.NewFile(fuzzInFD, "fuzz_in")
    	fuzzOut := os.NewFile(fuzzOutFD, "fuzz_out")
    	memFile := os.NewFile(memFileFD, "fuzz_mem")
    	fi, err := memFile.Stat()
    	if err != nil {
    		return workerComm{}, fmt.Errorf("worker checking temp file size: %w", err)
    	}
    	size := int(fi.Size())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:35:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/EditorReportsBuilder.kt

        val buffer = ByteArray(DEFAULT_BUFFER_SIZE)
        val newLine = '\n'.code.toByte()
    
        var count = 0L
        var noNewLineBeforeEOF = false
        var readCount = read(buffer)
    
        while (readCount != -1) {
            for (idx in 0 until readCount) {
                if (buffer[idx] == newLine) count++
            }
            noNewLineBeforeEOF = buffer[readCount - 1] != newLine
            readCount = read(buffer)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

          with(sink) {
            writeInt(totalRuleBytes)
            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    
      private suspend fun writeOutputFile(importResults: ImportResults) =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/StatefulNextGenBuildCacheService.java

                        legacyWriter.writeTo(output);
                    }
    
                    @Override
                    public long getSize() {
                        return legacyWriter.getSize();
                    }
                };
            }
            store(key, writer);
        }
    
        void store(BuildCacheKey key, NextGenWriter writer) throws BuildCacheException;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/cache/cache.go

    	}
    	if entry[0] != 'v' || entry[1] != '1' || entry[2] != ' ' || entry[3+hexSize] != ' ' || entry[3+hexSize+1+hexSize] != ' ' || entry[3+hexSize+1+hexSize+1+20] != ' ' || entry[entrySize-1] != '\n' {
    		return missing(errors.New("invalid header"))
    	}
    	eid, entry := entry[3:3+hexSize], entry[3+hexSize:]
    	eout, entry := entry[1:1+hexSize], entry[1+hexSize:]
    	esize, entry := entry[1:1+20], entry[1+20:]
    	etime, entry := entry[1:1+20], entry[1+20:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

        public void testStorePropertiesOutputStreamString() throws IOException {
            final Properties outProperties = new Properties();
            outProperties.setProperty("a", "A");
            final File file = tempFolder.newFile("hoge.properties");
            final FileOutputStream outputStream = OutputStreamUtil.create(file);
            PropertiesUtil.store(outProperties, outputStream, "comments");
            CloseableUtil.close(outputStream);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/runtime/map.go

    		}
    
    		srcK := add(unsafe.Pointer(src), dataOffset+uintptr(i)*uintptr(t.KeySize))
    		srcEle := add(unsafe.Pointer(src), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+uintptr(i)*uintptr(t.ValueSize))
    		dstK := add(unsafe.Pointer(dst), dataOffset+uintptr(pos)*uintptr(t.KeySize))
    		dstEle := add(unsafe.Pointer(dst), dataOffset+abi.MapBucketCount*uintptr(t.KeySize)+uintptr(pos)*uintptr(t.ValueSize))
    
    		dst.tophash[pos] = src.tophash[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top