Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for ok1 (0.02 sec)

  1. cmd/site-replication-utils.go

    }
    
    // Status returns current in-memory resync status for this deployment
    func (sm *siteResyncMetrics) status(dID string) (rs SiteResyncStatus, err error) {
    	sm.RLock()
    	defer sm.RUnlock()
    	if rst, ok1 := sm.peerResyncMap[dID]; ok1 {
    		if st, ok2 := sm.resyncStatus[rst.resyncID]; ok2 {
    			return st.clone(), nil
    		}
    	}
    	return rs, errSRNoResync
    }
    
    // Status returns latest resync status for this deployment
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  2. src/testing/quick/quick.go

    		v.SetUint(uint64(randInt64(rand)))
    	case reflect.Map:
    		numElems := rand.Intn(size)
    		v.Set(reflect.MakeMap(concrete))
    		for i := 0; i < numElems; i++ {
    			key, ok1 := sizedValue(concrete.Key(), rand, size)
    			value, ok2 := sizedValue(concrete.Elem(), rand, size)
    			if !ok1 || !ok2 {
    				return reflect.Value{}, false
    			}
    			v.SetMapIndex(key, value)
    		}
    	case reflect.Pointer:
    		if rand.Intn(size) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/strategy.go

    	// If the /status subresource endpoint is installed, update is not allowed to set status.
    	if a.status != nil {
    		_, ok1 := newCustomResource["status"]
    		_, ok2 := oldCustomResource["status"]
    		switch {
    		case ok2:
    			newCustomResource["status"] = oldCustomResource["status"]
    		case ok1:
    			delete(newCustomResource, "status")
    		}
    	}
    
    	// except for the changes to `metadata`, any other changes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 21:22:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                }
                """
            )
    
            assertThat(
                build("broken", "ok1", "ok2").output,
                allOf(
                    containsString("broken -> value = abc"),
                    containsString("ok1 -> value = abc"),
                    containsString("ok2 -> value = abc"),
                )
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. cmd/storage-datatypes.go

    	}
    	return fi.Erasure.DataBlocks
    }
    
    // Equals checks if fi(FileInfo) matches ofi(FileInfo)
    func (fi FileInfo) Equals(ofi FileInfo) (ok bool) {
    	typ1, ok1 := crypto.IsEncrypted(fi.Metadata)
    	typ2, ok2 := crypto.IsEncrypted(ofi.Metadata)
    	if ok1 != ok2 {
    		return false
    	}
    	if typ1 != typ2 {
    		return false
    	}
    	if fi.IsCompressed() != ofi.IsCompressed() {
    		return false
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. src/time/zoneinfo_read.go

    		d.error = true
    		return 0, false
    	}
    	return uint32(p[3]) | uint32(p[2])<<8 | uint32(p[1])<<16 | uint32(p[0])<<24, true
    }
    
    func (d *dataIO) big8() (n uint64, ok bool) {
    	n1, ok1 := d.big4()
    	n2, ok2 := d.big4()
    	if !ok1 || !ok2 {
    		d.error = true
    		return 0, false
    	}
    	return (uint64(n1) << 32) | uint64(n2), true
    }
    
    func (d *dataIO) byte() (n byte, ok bool) {
    	p := d.read(1)
    	if len(p) < 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile_test.go

    				"object.spec.string.findAll('[0-9]+').size() > 0",           // kubernetes string lib
    				"object.spec.list.isSorted()",                               // kubernetes list lib
    				"url(object.spec.endpoint).getHostname() in ['ok1', 'ok2']", // kubernetes url lib
    			},
    		},
    		{
    			name: "valid request",
    			expressions: []string{
    				"request.kind.group == 'example.com' && request.kind.version == 'v1' && request.kind.kind == 'Fake'",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    			testWrite{"Kilts", 5, nil},
    			testHeader{Header{Name: "dir/"}, nil},
    			testClose{nil},
    		},
    	}}
    
    	equalError := func(x, y error) bool {
    		_, ok1 := x.(headerError)
    		_, ok2 := y.(headerError)
    		if ok1 || ok2 {
    			return ok1 && ok2
    		}
    		return x == y
    	}
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			const maxSize = 10 << 10 // 10KiB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    				if len(id) > 2 && id[1] == 'C' && id[2] == '$' {
    					sb.WriteByte(',')
    					id = id[3:]
    				} else if len(id) > 4 && id[1] == 'u' && id[4] == '$' {
    					dig1, ok1 := hexDigit(id[2])
    					dig2, ok2 := hexDigit(id[3])
    					val := (dig1 << 4) | dig2
    					if !ok1 || !ok2 || dig1 > 7 || val < ' ' {
    						valid = false
    					} else {
    						sb.WriteByte(val)
    						id = id[5:]
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  10. src/cmd/link/internal/loadpe/ldpe.go

    			}
    		} else {
    			return nil, fmt.Errorf("%s: %v: sectnum < 0!", pn, s)
    		}
    
    		if sect == nil {
    			return nil, nil
    		}
    
    		// Check for COMDAT symbol.
    		if sz, ok1 := state.comdats[uint16(pesym.SectionNumber-1)]; ok1 {
    			if psz, ok2 := comdatDefinitions[l.SymName(s)]; ok2 {
    				if sz == psz {
    					//  OK to discard, we've seen an instance
    					// already.
    					continue
    				}
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
Back to top