Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Bad (1.02 sec)

  1. src/net/http/server.go

    	return ConnState(packedState & 0xff), int64(packedState >> 8)
    }
    
    // badRequestError is a literal string (used by in the server in HTML,
    // unescaped) to tell the user why their request was bad. It should
    // be plain text without user info or other embedded errors.
    func badRequestError(e string) error { return statusError{StatusBadRequest, e} }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/load/pkg.go

    					}
    					rel := filepath.ToSlash(str.TrimFilePathPrefix(path, pkgdir))
    					name := info.Name()
    					if path != file && (isBadEmbedName(name) || ((name[0] == '.' || name[0] == '_') && !all)) {
    						// Ignore bad names, assuming they won't go into modules.
    						// Also avoid hidden files that user may not know about.
    						// See golang.org/issue/42328.
    						if info.IsDir() {
    							return fs.SkipDir
    						}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    				getAPIError(ErrInvalidAccessKeyID),
    				getGetObjectURL("", bucketName, objectName), "", "")),
    			expectedRespStatus: http.StatusForbidden,
    		},
    		// Test case - 7.
    		// Case with bad components in object name.
    		{
    			bucketName: bucketName,
    			objectName: "../../etc",
    			byteRange:  "",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  4. src/database/sql/sql.go

    	dc.inUse = false
    	dc.returnedAt = nowFunc()
    
    	for _, fn := range dc.onPut {
    		fn()
    	}
    	dc.onPut = nil
    
    	if errors.Is(err, driver.ErrBadConn) {
    		// Don't reuse bad connections.
    		// Since the conn is considered bad and is being discarded, treat it
    		// as closed. Don't decrement the open count here, finalClose will
    		// take care of that.
    		db.maybeOpenNewConnections()
    		db.mu.Unlock()
    		dc.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    		t.Fatal(err)
    	}
    	defer res.Body.Close()
    	if v := res.Header.Get("Foo"); v != "" {
    		t.Errorf(`unexpected "Foo" header: %q`, v)
    	}
    	if v := res.Header.Get("Foo "); v != "bar" {
    		t.Errorf(`bad "Foo " header value: %q, want %q`, v, "bar")
    	}
    }
    
    type bodyCloser bool
    
    func (bc *bodyCloser) Close() error {
    	*bc = true
    	return nil
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    			if apiErr.Code == "InternalError" {
    				// Convert generic internal errors to bad requests.
    				apiErr = APIError{
    					Code:           "BadRequest",
    					Description:    err.Error(),
    					HTTPStatusCode: http.StatusBadRequest,
    				}
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. cluster/gce/gci/configure-helper.sh

      fi
    
      log-start 'VerifyKubeUser'
      if [[ -n "${KUBE_USER:-}" ]]; then
        if ! [[ "${KUBE_USER}" =~ ^[-._@a-zA-Z0-9]+$ ]]; then
          echo "Bad KUBE_USER format."
          exit 1
        fi
      fi
      log-end 'VerifyKubeUser'
    
      log-start 'GenerateTokens'
      KUBE_CONTROLLER_MANAGER_TOKEN="$(secure_random 32)"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (MOVHstorezeroidx2 ptr (MOVDconst [c]) mem) && is32Bit(c<<1) => (MOVHstorezero [int32(c<<1)] ptr mem)
    
    // replace load from same location as preceding store with zero/sign extension (or copy in case of full width)
    // these seem to have bad interaction with other rules, resulting in slower code
    //(MOVBload  [off] {sym} ptr (MOVBstore  [off2] {sym2} ptr2 x _)) && sym == sym2 && off == off2 && isSamePtr(ptr, ptr2) -> (MOVBreg x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  9. src/reflect/value.go

    	t := v.typ()
    	var i any
    	e := (*abi.EmptyInterface)(unsafe.Pointer(&i))
    	// First, fill in the data portion of the interface.
    	switch {
    	case t.IfaceIndir():
    		if v.flag&flagIndir == 0 {
    			panic("bad indir")
    		}
    		// Value is indirect, and so is the interface we're making.
    		ptr := v.ptr
    		if v.flag&flagAddr != 0 {
    			c := unsafe_New(t)
    			typedmemmove(t, c, ptr)
    			ptr = c
    		}
    		e.Data = ptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top