Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for RES (0.02 sec)

  1. tests/scan_test.go

    	}
    
    	DB.Table("users").Select("id, name, age").Where("id = ?", user2.ID).Scan(&res)
    	if res.ID != user2.ID || res.Name != user2.Name || res.Age != int(user2.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user2)
    	}
    
    	DB.Model(&User{Model: gorm.Model{ID: user3.ID}}).Select("id, name, age").Scan(&res)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/runtime/type.go

    		if base >= md.types && base < md.etypes {
    			res := md.types + uintptr(off)
    			if res > md.etypes {
    				println("runtime: nameOff", hex(off), "out of range", hex(md.types), "-", hex(md.etypes))
    				throw("runtime: name offset out of range")
    			}
    			return name{Bytes: (*byte)(unsafe.Pointer(res))}
    		}
    	}
    
    	// No module found. see if it is a run time name.
    	reflectOffsLock()
    	res, found := reflectOffs.m[int32(off)]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex.go

    	}
    
    	// 3. Service
    	if svc := a.lookupService(key); svc != nil {
    		res := []model.AddressInfo{serviceToAddressInfo(svc.Service)}
    		for _, w := range a.workloads.ByServiceKey.Lookup(svc.ResourceName()) {
    			res = append(res, workloadToAddressInfo(w.Workload))
    		}
    		return res
    	}
    	return nil
    }
    
    func (a *index) lookupService(key string) *model.ServiceInfo {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 19 17:19:41 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. src/encoding/base32/base32_test.go

    			if n > 0 {
    				res = append(res, dbuf[:n]...)
    			}
    		}
    
    		testEqual(t, "Decoding of %q = %q, want %q", string(input), string(res), tc.res)
    		testEqual(t, "Decoding of %q err = %v, expected %v", string(input), err, tc.err)
    	}
    }
    
    // TestDecoderError verifies decode errors are propagated when there are no read
    // errors.
    func TestDecoderError(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 16:25:54 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/crypto/internal/nistec/p256_asm.go

    // If cond is not 0, sets val = -val mod p.
    //
    //go:noescape
    func p256NegCond(val *p256Element, cond int)
    
    // If cond is 0, sets res = b, otherwise sets res = a.
    //
    //go:noescape
    func p256MovCond(res, a, b *P256Point, cond int)
    
    //go:noescape
    func p256BigToLittle(res *p256Element, in *[32]byte)
    
    //go:noescape
    func p256LittleToBig(res *[32]byte, in *p256Element)
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. cmd/global-heal.go

    	defer close(results)
    
    	go func() {
    		for res := range results {
    			if res.entryDone {
    				tracker.setObject(res.name)
    				if time.Since(tracker.getLastUpdate()) > time.Minute {
    					healingLogIf(ctx, tracker.update(ctx))
    				}
    				continue
    			}
    
    			tracker.updateProgress(res.success, res.skipped, res.bytes)
    		}
    	}()
    
    	var retErr error
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry.go

    		}
    		m = append(m, cfg)
    	}
    
    	var res any
    	// Finally, compute the actual filters based on the protoc
    	switch protocol {
    	case networking.ListenerProtocolHTTP:
    		res = buildHTTPTelemetryFilter(class, m)
    	default:
    		res = buildTCPTelemetryFilter(class, m)
    	}
    
    	// Update cache
    	t.computedMetricsFilters[key] = res
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        llvm::SmallVector<Value, 4> new_results;
        for (auto res : llvm::enumerate(compose_func_type.getResults())) {
          if (mlir::dyn_cast<TFRTensorType>(res.value())) {
            new_results.push_back(new_op.getResult(res.index()));
          } else if (auto list_type =
                         mlir::dyn_cast<TFRTensorListType>(res.value())) {
            for (int i = res.index(), j = 0; i < op->getNumResults(); i++, j++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. security/pkg/nodeagent/sds/sdsservice.go

    	}
    	res, err := c.s.generate(resources)
    	if err != nil {
    		return err
    	}
    	return xds.Send(c, res)
    }
    
    func (c *Context) Push(ev any) error {
    	secretName := ev.(string)
    	if !c.w.requested(secretName) {
    		return nil
    	}
    	res, err := c.s.generate([]string{secretName})
    	if err != nil {
    		return err
    	}
    	return xds.Send(c, res)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 25 00:20:04 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			w.CanonicalName, w.CanonicalRevision = kubelabels.CanonicalService(se.Labels, w.WorkloadName)
    
    			setTunnelProtocol(se.Labels, se.Annotations, w)
    			res = append(res, model.WorkloadInfo{Workload: w, Labels: se.Labels, Source: kind.WorkloadEntry, CreationTime: se.CreationTimestamp.Time})
    		}
    		return res
    	}
    }
    
    func setTunnelProtocol(labels, annotations map[string]string, w *workloadapi.Workload) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top