Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 78 for RES (0.02 sec)

  1. pkg/webhooks/validation/server/server.go

    }
    
    func toKubeWarnings(warn validation.Warning) []string {
    	if warn == nil {
    		return nil
    	}
    	me, ok := warn.(*multierror.Error)
    	if ok {
    		res := []string{}
    		for _, e := range me.Errors {
    			res = append(res, e.Error())
    		}
    		return res
    	}
    	return []string{warn.Error()}
    }
    
    func checkFields(raw []byte, kind string, namespace string, name string) (string, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 04 06:13:56 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/mime/quotedprintable/reader_test.go

    					}
    				} else {
    					t.Logf("qprint -d(%q) = %v", s, got)
    				}
    			case <-time.After(5 * time.Second):
    				t.Logf("qprint timeout on %q", s)
    			}
    		}
    		res["OK"]++
    	})
    	var outcomes []string
    	for k, v := range res {
    		outcomes = append(outcomes, fmt.Sprintf("%v: %d", k, v))
    	}
    	slices.Sort(outcomes)
    	got := strings.Join(outcomes, "\n")
    	want := `OK: 28934
    invalid bytes after =: 3949
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                @Override
                public <Q> Supplier<Q> getCompiledBinding(Key<Q> key) {
                    Set<Binding<Q>> res = getBindings(key);
                    if (res != null && !res.isEmpty()) {
                        List<Binding<Q>> bindingList = new ArrayList<>(res);
                        Comparator<Binding<Q>> comparing = Comparator.comparing(Binding::getPriority);
                        bindingList.sort(comparing.reversed());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir

      %biasadd = "tf.BiasAdd"(%conv, %dq_bias) {data_format = "NHWC", device = ""} : (tensor<*xf32>, tensor<2xf32>) -> tensor<*xf32>
      %res = "tf.Relu6"(%biasadd) : (tensor<*xf32>) -> tensor<*xf32>
      %q_res = "quantfork.qcast"(%res) : (tensor<*xf32>) -> tensor<*x!quant.uniform<i8:f32, 0.023529411764705882:-128>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. src/runtime/pprof/protomem_test.go

    	}
    }
    
    func genericAllocFunc[T interface{ uint32 | uint64 }](n int) []T {
    	return make([]T, n)
    }
    
    func profileToStrings(p *profile.Profile) []string {
    	var res []string
    	for _, s := range p.Sample {
    		res = append(res, sampleToString(s))
    	}
    	return res
    }
    
    func sampleToString(s *profile.Sample) string {
    	var funcs []string
    	for i := len(s.Location) - 1; i >= 0; i-- {
    		loc := s.Location[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

                                    PatternRewriter &rewriter) const override {
        // We don't want to insert quantize/dequantize if the quantize op exists.
        auto res = tf_op.getOutputs();
        if (!res.hasOneUse() || isa<quantfork::QuantizeCastOp>(*res.user_begin()))
          return failure();
    
        // Extract the min/max constant values from the operands. We also consider
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. pkg/kube/krt/singleton.go

    }
    
    func (c collectionAdapter[T]) Set(t *T) {
    	c.c.(*static[T]).Set(t)
    }
    
    func (c collectionAdapter[T]) Get() *T {
    	// Guaranteed to be 0 or 1 len
    	res := c.c.List()
    	if len(res) == 0 {
    		return nil
    	}
    	return &res[0]
    }
    
    func (c collectionAdapter[T]) Register(f func(o Event[T])) Syncer {
    	return c.c.Register(f)
    }
    
    func (c collectionAdapter[T]) AsCollection() Collection[T] {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. cni/pkg/log/uds.go

    	delete(raw, "level")
    	delete(raw, "time")
    	msg.Arbitrary = make(map[string]any, len(raw))
    	for k, v := range raw {
    		var res any
    		if err := json.Unmarshal(v, &res); err != nil {
    			log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    			continue
    		}
    		msg.Arbitrary[k] = res
    	}
    	msg.Msg = strings.TrimSpace(msg.Msg)
    	return msg, true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/runtime/time_fake.go

    	buf[13] = byte(nu >> (2 * 8))
    	buf[14] = byte(nu >> (1 * 8))
    	buf[15] = byte(nu >> (0 * 8))
    	write1(fd, unsafe.Pointer(&buf[0]), int32(len(buf)))
    
    	// Write actual data.
    	res := write1(fd, p, n)
    
    	unlock(&faketimeState.lock)
    	return res
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:15:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

      if (opr_num >= op->getNumOperands()) return nullptr;
      auto opr = op->getOperand(opr_num);
      if (llvm::isa<BlockArgument>(opr)) return nullptr;
      auto* res = opr.getDefiningOp();
      if (!res->hasOneUse()) return nullptr;
      return res;
    }
    
    // Checks if the given operand of given operation refers to a splat constant
    // with given val.
    bool HasSplatArg(Operation* op, float val, int opr_num) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top