Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for newoff (0.2 sec)

  1. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    }
    
    func (h *header) unpack(msg []byte, off int) (int, error) {
    	newOff := off
    	var err error
    	if h.id, newOff, err = unpackUint16(msg, newOff); err != nil {
    		return off, &nestedError{"id", err}
    	}
    	if h.bits, newOff, err = unpackUint16(msg, newOff); err != nil {
    		return off, &nestedError{"bits", err}
    	}
    	if h.questions, newOff, err = unpackUint16(msg, newOff); err != nil {
    		return off, &nestedError{"questions", err}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/op.go

    	return ValAndOff(int64(val)<<32 + int64(uint32(off)))
    }
    
    func (x ValAndOff) canAdd32(off int32) bool {
    	newoff := x.Off64() + int64(off)
    	return newoff == int64(int32(newoff))
    }
    func (x ValAndOff) canAdd64(off int64) bool {
    	newoff := x.Off64() + off
    	return newoff == int64(int32(newoff))
    }
    
    func (x ValAndOff) addOffset32(off int32) ValAndOff {
    	if !x.canAdd32(off) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. cmd/erasure-decode.go

    	newBuf := dst
    	if len(dst) != len(p.readers) {
    		newBuf = make([][]byte, len(p.readers))
    	} else {
    		for i := range newBuf {
    			newBuf[i] = newBuf[i][:0]
    		}
    	}
    	var newBufLK sync.RWMutex
    
    	if p.offset+p.shardSize > p.shardFileSize {
    		p.shardSize = p.shardFileSize - p.offset
    	}
    	if p.shardSize == 0 {
    		return newBuf, nil
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/graph_builder.go

    		isUnblocked := c.newRef.BlockOwnerDeletion == nil || (c.newRef.BlockOwnerDeletion != nil && !*c.newRef.BlockOwnerDeletion)
    		if wasBlocked && isUnblocked {
    			node, found := gb.uidToNode.Read(c.newRef.UID)
    			if !found {
    				logger.V(5).Info("cannot find uid in uidToNode", "uid", c.newRef.UID)
    				continue
    			}
    			gb.attemptToDelete.Add(node)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. pkg/registry/resource/resourceclassparameters/strategy_test.go

    		ctx := genericapirequest.NewDefaultContext()
    		resourceClassParameters := resourceClassParameters.DeepCopy()
    		newObj := resourceClassParameters.DeepCopy()
    		newObj.Name += "-2"
    		newObj.ResourceVersion = "4"
    
    		Strategy.PrepareForUpdate(ctx, newObj, resourceClassParameters)
    		errs := Strategy.ValidateUpdate(ctx, newObj, resourceClassParameters)
    		if len(errs) == 0 {
    			t.Errorf("expected a validation error")
    		}
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. plugin/pkg/admission/gc/gc_admission_test.go

    		resource    schema.GroupVersionResource
    		subresource string
    		oldObj      runtime.Object
    		newObj      runtime.Object
    
    		checkError func(error) bool
    	}{
    		{
    			name:       "super-user, create, no objectref change",
    			username:   "super",
    			resource:   api.SchemeGroupVersion.WithResource("pods"),
    			newObj:     &api.Pod{},
    			checkError: expectNoError,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  7. pkg/scheduler/util/assumecache/assume_cache_test.go

    	verify(ktesting.WithStep(tCtx, "after nop add"), cache, key, newObj, newObj)
    	informer.add(nil)
    	verify(ktesting.WithStep(tCtx, "after nil add"), cache, key, newObj, newObj)
    	informer.update(oldObj)
    	verify(ktesting.WithStep(tCtx, "after nop update"), cache, key, newObj, newObj)
    	informer.update(nil)
    	verify(ktesting.WithStep(tCtx, "after nil update"), cache, key, newObj, newObj)
    	informer.delete(nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. cmd/config-migrate.go

    	}
    
    	// Move to latest.
    	cfg.Version = "33"
    
    	newCfg := newServerConfig()
    
    	config.SetRegion(newCfg, cfg.Region)
    	storageclass.SetStorageClass(newCfg, cfg.StorageClass)
    
    	for k, loggerArgs := range cfg.Logger.HTTP {
    		logger.SetLoggerHTTP(newCfg, k, loggerArgs)
    	}
    	for k, auditArgs := range cfg.Logger.AuditWebhook {
    		logger.SetLoggerHTTPAudit(newCfg, k, auditArgs)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. internal/config/browser/browser.go

    }
    
    // Update Updates browser with new config
    func (browseCfg *Config) Update(newCfg Config) {
    	configLock.Lock()
    	defer configLock.Unlock()
    	browseCfg.CSPPolicy = newCfg.CSPPolicy
    	browseCfg.HSTSSeconds = newCfg.HSTSSeconds
    	browseCfg.HSTSIncludeSubdomains = newCfg.HSTSIncludeSubdomains
    	browseCfg.HSTSPreload = newCfg.HSTSPreload
    	browseCfg.ReferrerPolicy = newCfg.ReferrerPolicy
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (1)
  10. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/annotationForFunctionOutOfCodeGenTarget2.kt

    @MyComposable
    fun Greeting(): String {
        return "Hi $foo!"
    }
    
    // FILE: p3/foo.kt
    package p3
    
    import org.jetbrains.kotlin.fir.plugin.MyComposable
    
    private var foo_ = 0
    
    fun setFoo(newFoo: Int) {
        foo_ = newFoo
    }
    
    val foo: Int
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Mar 26 07:06:11 UTC 2024
    - 486 bytes
    - Viewed (0)
Back to top