Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for Cramer (0.19 sec)

  1. schema/constraint.go

    				checks[names[0]] = CheckConstraint{Name: names[0], Constraint: strings.Join(names[1:], ","), Field: field}
    			} else {
    				if names[0] == "" {
    					chk = strings.Join(names[1:], ",")
    				}
    				name := schema.namer.CheckerName(schema.Table, field.DBName)
    				checks[name] = CheckConstraint{Name: name, Constraint: chk, Field: field}
    			}
    		}
    	}
    	return checks
    }
    
    type UniqueConstraint struct {
    	Name  string
    	Field *Field
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 07:33:54 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/routers.go

    }
    
    // List of some generic middlewares which are applied for all incoming requests.
    var globalMiddlewares = []mux.MiddlewareFunc{
    	// set x-amz-request-id header and others
    	addCustomHeadersMiddleware,
    	// The generic tracer needs to be the first middleware to catch all requests
    	// returned early by any other middleware (but after the middleware that
    	// sets the amz request id).
    	httpTracerMiddleware,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  3. mockwebserver/src/main/kotlin/mockwebserver3/Stream.kt

     * limitations under the License.
     */
    package mockwebserver3
    
    import okhttp3.ExperimentalOkHttpApi
    import okio.BufferedSink
    import okio.BufferedSource
    
    /**
     * A bidirectional sequence of data frames exchanged between client and server.
     */
    @ExperimentalOkHttpApi
    interface Stream {
      val requestBody: BufferedSource
      val responseBody: BufferedSink
    
      /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. internal/s3select/message.go

    	"encoding/binary"
    	"fmt"
    	"hash/crc32"
    	"net/http"
    	"strconv"
    	"sync/atomic"
    	"time"
    )
    
    // A message is in the format specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  5. tests/table_test.go

    	}
    
    	AssertEqual(t, r.Statement.Vars, []interface{}{2, 4, 1, 3})
    }
    
    type UserWithTableNamer struct {
    	gorm.Model
    	Name string
    }
    
    func (UserWithTableNamer) TableName(namer schema.Namer) string {
    	return namer.TableName("user")
    }
    
    func TestTableWithNamer(t *testing.T) {
    	db, _ := gorm.Open(tests.DummyDialector{}, &gorm.Config{
    		NamingStrategy: schema.NamingStrategy{
    			TablePrefix: "t_",
    		},
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Mar 09 09:31:28 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/flowcontrol/WindowCounter.kt

    class WindowCounter(
      val streamId: Int,
    ) {
      /** The total number of bytes consumed. */
      var total: Long = 0L
        private set
    
      /** The total number of bytes acknowledged by outgoing `WINDOW_UPDATE` frames. */
      var acknowledged: Long = 0L
        private set
    
      val unacknowledged: Long
        @Synchronized get() = total - acknowledged
    
      @Synchronized
      fun update(
        total: Long = 0,
        acknowledged: Long = 0,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type I interface, Name() string
    pkg p1, type I interface, PackageTwoMeth()
    pkg p1, type I interface, Set(string, int64)
    pkg p1, type I interface, unexported methods
    pkg p1, type MyInt int
    pkg p1, type Namer interface { Name }
    pkg p1, type Namer interface, Name() string
    pkg p1, type Private interface, X()
    pkg p1, type Private interface, unexported methods
    pkg p1, type Private //deprecated
    pkg p1, type Public interface { X, Y }
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. internal/http/transports.go

    	// if tlsConfig != nil {
    	// 	trhttp2, _ := http2.ConfigureTransports(tr)
    	// 	if trhttp2 != nil {
    	// 		// ReadIdleTimeout is the timeout after which a health check using ping
    	// 		// frame will be carried out if no frame is received on the
    	// 		// connection. 5 minutes is sufficient time for any idle connection.
    	// 		trhttp2.ReadIdleTimeout = 5 * time.Minute
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 00:50:37 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/ws/WebSocketWriterTest.kt

          payload.writeByte('0'.code)
        }
        serverWriter.writeMessageFrame(OPCODE_BINARY, payload.snapshot())
    
        // Write directly to the unbuffered sink. This ensures it will become single frame.
        assertData("827e") // 'e' == 4-byte follow-up length.
        assertData(format("%04X", payload.completeSegmentByteCount()))
        assertData(payload.readByteString())
      }
    
      @Test fun serverMessageLengthLong() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. src/cmd/api/testdata/src/pkg/p1/p1.go

    type EmbedURLPtr struct {
    	*URL
    }
    
    type S2 struct {
    	// Deprecated: use T.
    	S
    	Extra bool
    }
    
    var X0 int64
    
    var (
    	Y int
    	X I
    )
    
    type Namer interface {
    	Name() string
    }
    
    type I interface {
    	Namer
    	ptwo.Twoer
    	Set(name string, balance int64)
    	// Deprecated: use GetNamed.
    	Get(string) int64
    	GetNamed(string) (balance int64)
    	private()
    }
    
    type Public interface {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
Back to top