Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 101 for Write (0.15 sec)

  1. src/runtime/mgcscavenge.go

    	// Each huge page is guaranteed to fit in a single palloc chunk.
    	//
    	// TODO(mknyszek): Support larger huge page sizes.
    	// TODO(mknyszek): Consider taking pages-per-huge-page as a parameter
    	// so we can write tests for this.
    	if physHugePageSize > pageSize && physHugePageSize > physPageSize {
    		// We have huge pages, so let's ensure we don't break one by scavenging
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    			}
    			b := new(BadExpr)
    			b.pos = semi.pos
    			cond = b
    		}
    	case *ExprStmt:
    		cond = s.X
    	default:
    		// A common syntax error is to write '=' instead of '==',
    		// which turns an expression into an assignment. Provide
    		// a more explicit error message in that case to prevent
    		// further confusion.
    		var str string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    	}
    
    	// Get presigned string to sign.
    	stringToSign := getStringToSignV2(req.Method, encodedResource, strings.Join(unescapedQueries, "&"), req.Header, expiresStr)
    	hm := hmac.New(sha1.New, []byte(secretAccessKey))
    	hm.Write([]byte(stringToSign))
    
    	// Calculate signature.
    	signature := base64.StdEncoding.EncodeToString(hm.Sum(nil))
    
    	query := req.URL.Query()
    	// Handle specially for Google Cloud Storage.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    		t.Fatalf("unexpected error: %s", str)
    	}
    }
    
    const alwaysErrorText = "always be failing"
    
    var alwaysError = errors.New(alwaysErrorText)
    
    type ErrorWriter int
    
    func (e ErrorWriter) Write(p []byte) (int, error) {
    	return 0, alwaysError
    }
    
    func TestExecuteGivesExecError(t *testing.T) {
    	// First, a non-execution error shouldn't be an ExecError.
    	tmpl, err := New("X").Parse("hello")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * @see Project#property(String)
         */
        @Nullable
        Object findProperty(String propertyName);
    
        /**
         * <p>Returns the logger for this project. You can use this in your build file to write log messages.</p>
         *
         * @return The logger. Never returns null.
         */
        Logger getLogger();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (IsNonNil ptr) => (NotEqual (CMPconst [0] ptr))
    (IsInBounds idx len) => (LessThan (CMPU idx len))
    (IsSliceInBounds idx len) => (LessEqual (CMPU idx len))
    (NilCheck ...) => (LoweredNilCheck ...)
    
    // Write barrier.
    (WB ...) => (LoweredWB ...)
    
    // Publication barrier as intrinsic
    (PubBarrier ...) => (LoweredPubBarrier ...)
    
    (PanicBounds [kind] x y mem) && boundsABI(kind) == 0 => (LoweredPanicBoundsA [kind] x y mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  7. src/go/build/build.go

    	// If AllowBinary is set, Import can be satisfied by a compiled
    	// package object without corresponding sources.
    	//
    	// Deprecated:
    	// The supported way to create a compiled-only package is to
    	// write source code containing a //go:binary-only-package comment at
    	// the top of the file. Such a package will be recognized
    	// regardless of this flag setting (because it has source code)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. src/runtime/pprof/pprof_test.go

    	}
    
    	for _, test := range tests {
    		t.Run(test.profiler, func(t *testing.T) {
    			var buf bytes.Buffer
    			if err := Lookup(test.profiler).WriteTo(&buf, 0); err != nil {
    				t.Fatalf("failed to write heap profile: %v", err)
    			}
    			p, err := profile.Parse(&buf)
    			if err != nil {
    				t.Fatalf("failed to parse heap profile: %v", err)
    			}
    			t.Logf("Profile = %v", p)
    
    			stks := stacks(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    	runtime.ExitSyscall()
    	n = int(r0)
    	if int64(r0) == -1 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func write(fd int, p []byte) (n int, err error) {
    	var _p0 unsafe.Pointer
    	if len(p) > 0 {
    		_p0 = unsafe.Pointer(&p[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	runtime.EnterSyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  10. pkg/controller/volume/persistentvolume/pv_controller.go

    	// Without this cache, it would see the old version of volume.Status and
    	// claim in the informers (it has not been updated from API server events
    	// yet) and it would try to fix these objects to be bound together.
    	// Any write to API server would fail with version conflict - these objects
    	// have been already written.
    	volumes persistentVolumeOrderedIndex
    	claims  cache.Store
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
Back to top