Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for ctrbuf (0.11 sec)

  1. src/crypto/aes/gcm_s390x.go

    	// buffer for counter values.
    	var ctrbuf, srcbuf [2048]byte
    	for len(src) >= 16 {
    		siz := len(src)
    		if len(src) > len(ctrbuf) {
    			siz = len(ctrbuf)
    		}
    		siz &^= 0xf // align siz to 16-bytes
    		copy(srcbuf[:], src[:siz])
    		cryptBlocksGCM(g.block.function, g.block.key, dst[:siz], srcbuf[:siz], ctrbuf[:], cnt)
    		src = src[siz:]
    		dst = dst[siz:]
    	}
    	if len(src) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/object-api-utils_test.go

    				}
    			}
    			var stdBuf bytes.Buffer
    			w := s2.NewWriter(&stdBuf)
    			_, err = io.CopyBuffer(w, bytes.NewReader(tt.data), buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    			err = w.Close()
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			var (
    				got  = rdrBuf.Bytes()
    				want = stdBuf.Bytes()
    			)
    			if !bytes.Equal(got, want) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/syscall/exec_plan9.go

    childerror:
    	// send error string on pipe
    	RawSyscall(SYS_ERRSTR, uintptr(unsafe.Pointer(&errbuf[0])), uintptr(len(errbuf)), 0)
    childerror1:
    	errbuf[len(errbuf)-1] = 0
    	i = 0
    	for i < len(errbuf) && errbuf[i] != 0 {
    		i++
    	}
    
    	RawSyscall6(SYS_PWRITE, uintptr(pipe), uintptr(unsafe.Pointer(&errbuf[0])), uintptr(i),
    		^uintptr(0), ^uintptr(0), 0)
    
    	for {
    		RawSyscall(SYS_EXITS, 0, 0, 0)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/net/smtp/smtp_test.go

    Goodbye.
    .
    QUIT
    `
    
    func TestExtensions(t *testing.T) {
    	fake := func(server string) (c *Client, bcmdbuf *bufio.Writer, cmdbuf *strings.Builder) {
    		server = strings.Join(strings.Split(server, "\n"), "\r\n")
    
    		cmdbuf = &strings.Builder{}
    		bcmdbuf = bufio.NewWriter(cmdbuf)
    		var fake faker
    		fake.ReadWriter = bufio.NewReadWriter(bufio.NewReader(strings.NewReader(server)), bcmdbuf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/cpu-profile.go

    import (
    	"bytes"
    	"context"
    	"fmt"
    	"internal/profile"
    	"log"
    	"os"
    	"runtime"
    	"runtime/pprof"
    	"runtime/trace"
    	"strings"
    	"time"
    )
    
    func main() {
    	cpuBuf := new(bytes.Buffer)
    	if err := pprof.StartCPUProfile(cpuBuf); err != nil {
    		log.Fatalf("failed to start CPU profile: %v", err)
    	}
    
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatalf("failed to start tracing: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. src/runtime/tracecpu.go

    		w.varint(goid)
    		w.varint(stackID)
    
    		trace.cpuBuf[gen%2] = w.traceBuf
    	}
    	return !eof
    }
    
    // traceCPUFlush flushes trace.cpuBuf[gen%2]. The caller must be certain that gen
    // has completed and that there are no more writers to it.
    func traceCPUFlush(gen uintptr) {
    	// Flush any remaining trace buffers containing CPU samples.
    	if buf := trace.cpuBuf[gen%2]; buf != nil {
    		systemstack(func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.problems
    
    import org.apache.groovy.json.internal.CharBuf
    import org.gradle.api.internal.file.temp.TemporaryFileProvider
    import org.gradle.internal.buildoption.InternalFlag
    import org.gradle.internal.buildoption.InternalOptions
    import org.gradle.internal.concurrent.ExecutorFactory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

        for (int i = 0; i < PyList_GET_SIZE(py_denylist); ++i) {
          PyObject* value = PyList_GetItem(py_denylist, i);
          char* str_buf;
          Py_ssize_t length;
          if (ConvertFromPyString(value, &str_buf, &length) == -1) {
            return -1;
          }
          string_set->emplace(str_buf, length);
        }
      }
      if (PySet_Check(py_denylist)) {
        auto* tmp = PySet_New(py_denylist);
        while (PySet_GET_SIZE(tmp)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.problems
    
    import org.apache.groovy.json.internal.CharBuf
    import org.gradle.api.internal.DocumentationRegistry
    import org.gradle.internal.configuration.problems.documentationLinkFor
    import org.gradle.internal.configuration.problems.DecoratedFailure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/internal/trace/trace_test.go

    		// and stderr is an expectation in string format.
    		var traceBuf, errBuf bytes.Buffer
    		cmd.Stdout = &traceBuf
    		cmd.Stderr = &errBuf
    		// Run the program.
    		if err := cmd.Run(); err != nil {
    			if errBuf.Len() != 0 {
    				t.Logf("stderr: %s", string(errBuf.Bytes()))
    			}
    			t.Fatal(err)
    		}
    		tb := traceBuf.Bytes()
    
    		// Test the trace and the parser.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top