Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for placeholder (0.19 sec)

  1. internal/http/request-recorder.go

    func (r *RequestRecorder) Data() []byte {
    	// If body logging is enabled then we return the actual body
    	if r.LogBody {
    		return r.buf.Bytes()
    	}
    	// ... otherwise we return <BLOB> placeholder
    	return blobBody
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 12 21:37:19 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  2. internal/http/response-recorder.go

    	for k, v := range headers {
    		n, _ := fmt.Fprintf(w, "%s: %s\n", k, v[0])
    		lrw.headerBytesWritten += n
    	}
    }
    
    // blobBody returns a dummy body placeholder for blob (binary stream)
    var blobBody = []byte("<BLOB>")
    
    // gzippedBody returns a dummy body placeholder for gzipped content
    var gzippedBody = []byte("<GZIP>")
    
    // Body - Return response body.
    func (lrw *ResponseRecorder) Body() []byte {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  3. tests/update_test.go

    		t.Fatalf("failed to find updated user, got %v", err)
    	}
    
    	if err := DB.Model(User{Model: user3.Model}).Save(&struct {
    		gorm.Model
    		Placeholder string
    		Name        string
    	}{
    		Model:       user3.Model,
    		Placeholder: "placeholder",
    		Name:        "save3__",
    	}).Error; err != nil {
    		t.Fatalf("failed to update user, got %v", err)
    	}
    
    	var result3 User
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Dec 04 03:50:58 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    				if i > 0 {
    					buf.WriteString(", ")
    				}
    				w.writeType(buf, targs.At(i))
    			}
    			buf.WriteByte(']')
    		}
    
    	case *types.TypeParam:
    		// Type parameter names may change, so use a placeholder instead.
    		fmt.Fprintf(buf, "$%d", typ.Index())
    
    	default:
    		panic(fmt.Sprintf("unknown type %T", typ))
    	}
    }
    
    func (w *Walker) writeSignature(buf *bytes.Buffer, sig *types.Signature) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			for {
    				if d, ok := dq.(*dwarf.QualType); ok {
    					t.C.Set(d.Qual + " " + t.C.String())
    					dq = d.Type
    				} else {
    					break
    				}
    			}
    			break
    		}
    
    		// Placeholder initialization; completed in FinishType.
    		t.Go = &ast.StarExpr{}
    		t.C.Set("<incomplete>*")
    		key := dt.Type.String()
    		if _, ok := c.ptrs[key]; !ok {
    			c.ptrKeys = append(c.ptrKeys, dt.Type)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest_shared_test.go

    		manifestsPath:     string(chartSource),
    		istioNamespace:    constants.IstioSystemNamespace,
    		watchedNamespaces: constants.IstioSystemNamespace,
    		operatorNamespace: operatorDefaultNamespace,
    		// placeholders, since the fake API server does not actually pull images and create pods.
    		hub: "fake hub",
    		tag: "fake tag",
    	}
    
    	_, mstr, err := renderOperatorManifest(nil, ocArgs)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
Back to top