Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for strncat (0.07 sec)

  1. cmd/xl-storage-format-v2.go

    					// We are either strict, or don't have enough information to match.
    					// Switch to a pure counting algo.
    					x := make(map[xlMetaV2VersionHeader]int, len(tops))
    					for _, a := range tops {
    						if a.header.VersionID != ver.header.VersionID {
    							continue
    						}
    						if !strict {
    							// we must match EC, when we are not strict.
    							if !a.header.matchesEC(ver.header) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. src/cmd/cgo/gcc.go

    				oldType.Go = sub.Go
    			}
    		}
    		// Check for non-pointer "struct <tag>{...}; typedef struct <tag> *<name>"
    		// typedefs that should be marked Incomplete.
    		if ptr, ok := dt.Type.(*dwarf.PtrType); ok {
    			if strct, ok := ptr.Type.(*dwarf.StructType); ok {
    				if c.badStructPointerTypedef(dt.Name, strct) {
    					c.incompleteStructs[strct.StructName] = true
    					// Make sure we update any previously computed type.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		wk, err := workers.New(workerSize)
    		if err != nil {
    			// invalid worker size.
    			return err
    		}
    
    		walkQuorum := env.Get("_MINIO_BATCH_REPLICATION_WALK_QUORUM", "strict")
    		if walkQuorum == "" {
    			walkQuorum = "strict"
    		}
    		ctx, cancelCause := context.WithCancelCause(ctx)
    		// one of source/target is s3, skip delete marker and all versions under the same object name.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. fastapi/param_functions.py

            Doc(
                """
                Parameter field name for discriminating the type in a tagged union.
                """
            ),
        ] = None,
        strict: Annotated[
            Union[bool, None],
            Doc(
                """
                If `True`, strict validation is applied to the field.
                """
            ),
        ] = _Unset,
        multiple_of: Annotated[
            Union[float, None],
            Doc(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  5. tests/migrate_test.go

    	type UserStat struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser struct {
    		gorm.Model
    		StatAb UserStat `gorm:"embedded;embeddedPrefix:stat_ab_"`
    	}
    
    	type UserStat1 struct {
    		GroundDestroyCount string
    	}
    
    	type GroundRate struct {
    		GroundDestroyCount int
    	}
    
    	type GameUser1 struct {
    		gorm.Model
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    	out := slices.Collect(seq)
    	out1 := slices.Collect(seq)
    	if !slices.Equal(sliceOfString(out), sliceOfString(out1)) {
    		t.Fatalf("inconsistent seq:\n%s\n%s", out, out1)
    	}
    	return out
    }
    
    type LinesTest struct {
    	a string
    	b []string
    }
    
    var linesTests = []LinesTest{
    	{a: "abc\nabc\n", b: []string{"abc\n", "abc\n"}},
    	{a: "abc\r\nabc", b: []string{"abc\r\n", "abc"}},
    	{a: "abc\r\n", b: []string{"abc\r\n"}},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    }
    
    // GetDisksID will return disks by their ID.
    func (z *erasureServerPools) GetDisksID(ids ...string) []StorageAPI {
    	idMap := make(map[string]struct{})
    	for _, id := range ids {
    		idMap[id] = struct{}{}
    	}
    	res := make([]StorageAPI, 0, len(idMap))
    	for _, s := range z.serverPools {
    		for _, set := range s.sets {
    			for _, disk := range set.getDisks() {
    				if disk == OfflineDisk {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    			t.Fatalf("on line %d/2; ReadLine=%#v, %v; want non-nil line or Error, but not both",
    				i+1, l, err)
    		}
    	}
    }
    
    type readLineResult struct {
    	line     []byte
    	isPrefix bool
    	err      error
    }
    
    var readLineNewlinesTests = []struct {
    	input  string
    	expect []readLineResult
    }{
    	{"012345678901234\r\n012345678901234\r\n", []readLineResult{
    		{[]byte("012345678901234"), true, nil},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    // invalidate old TF_Operation* pointers.
    typedef struct TF_Operation TF_Operation;
    
    // Represents a specific input of an operation.
    typedef struct TF_Input {
      TF_Operation* oper;
      int index;  // The index of the input within oper.
    } TF_Input;
    
    // Represents a specific output of an operation.
    typedef struct TF_Output {
      TF_Operation* oper;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      optional string fieldManager = 3;
    }
    
    // Condition contains details for one aspect of the current state of this API Resource.
    // ---
    // This struct is intended for direct use as an array at the field path .status.conditions.  For example,
    //
    // 	type FooStatus struct{
    // 	    // Represents the observations of a foo's current state.
    // 	    // Known .status.conditions.type are: "Available", "Progressing", and "Degraded"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top