Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 124 for getg (0.04 sec)

  1. src/fmt/print.go

    // between operands and a newline is appended.
    func Appendln(b []byte, a ...any) []byte {
    	p := newPrinter()
    	p.doPrintln(a)
    	b = append(b, p.buf...)
    	p.free()
    	return b
    }
    
    // getField gets the i'th field of the struct value.
    // If the field itself is a non-nil interface, return a value for
    // the thing inside the interface, not the interface itself.
    func getField(v reflect.Value, i int) reflect.Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. src/text/template/exec.go

    	n := len(ident)
    	for i := 0; i < n-1; i++ {
    		receiver = s.evalField(dot, ident[i], node, nil, missingVal, receiver)
    	}
    	// Now if it's a method, it gets the arguments.
    	return s.evalField(dot, ident[n-1], node, args, final, receiver)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. pkg/kubelet/pleg/generic.go

    			if events[i].Type == ContainerDied {
    				// Fill up containerExitCode map for ContainerDied event when first time appeared
    				if len(containerExitCode) == 0 && pod != nil && g.cache != nil {
    					// Get updated podStatus
    					status, err := g.cache.Get(pod.ID)
    					if err == nil {
    						for _, containerStatus := range status.ContainerStatuses {
    							containerExitCode[containerStatus.ID.ID] = containerStatus.ExitCode
    						}
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  4. pkg/controller/cronjob/utils_test.go

    		if schedule == nil {
    			t.Errorf("expected more than 0 missed times")
    		}
    	}
    	{
    		// Case 8: ensure the error from mostRecentScheduleTime gets populated up
    		cj.ObjectMeta.CreationTimestamp = metav1.Time{Time: T1.Add(10 * time.Second)}
    		cj.Status.LastScheduleTime = nil
    		now := *deltaTimeAfterTopOfTheHour(1 * time.Hour)
    		// rouge schedule
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    // Creates an int32 constant op from an integer attribute $0.
    def CreateInt32ConstOpFromIntAttr
      : NativeCodeCall<"$_builder.create<TF::ConstOp>($_loc, DenseElementsAttr::get(RankedTensorType::get({}, $_builder.getI32Type()), {static_cast<int32_t>($0.cast<IntegerAttr>().getInt())}))">;
    
    //===----------------------------------------------------------------------===//
    // Nullary ops patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/coderepo.go

    		// If r.codeDir is non-empty, then the go.mod file must exist: the module
    		// author — not the module consumer, — gets to decide how to carve up the repo
    		// into modules.
    		//
    		// Conversely, if the go.mod file exists, the module author — not the module
    		// consumer — gets to determine the module's path
    		//
    		// r.findDir verifies both of these conditions. Execute it now so that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/value.go

    		// If you see this, add a case above instead.
    		return fmt.Sprintf("[auxtype=%d AuxInt=%d Aux=%v]", opcodeTable[v.Op].auxType, v.AuxInt, v.Aux)
    	}
    }
    
    // If/when midstack inlining is enabled (-l=4), the compiler gets both larger and slower.
    // Not-inlining this method is a help (*Value.reset and *Block.NewValue0 are similar).
    //
    //go:noinline
    func (v *Value) AddArg(w *Value) {
    	if v.Args == nil {
    		v.resetArgs() // use argstorage
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. pkg/volume/local/local.go

    }
    
    func getVolumeSourceReadOnly(spec *volume.Spec) (bool, error) {
    	if spec.PersistentVolume != nil &&
    		spec.PersistentVolume.Spec.Local != nil {
    		// local volumes used as a PersistentVolume gets the ReadOnly flag indirectly through
    		// the persistent-claim volume used to mount the PV
    		return spec.ReadOnly, nil
    	}
    
    	return false, fmt.Errorf("spec does not reference a Local volume type")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

        int hashTableBits = Integer.SIZE - Integer.numberOfLeadingZeros(mask);
        metadata =
            CompactHashing.maskCombine(metadata, hashTableBits, CompactHashing.HASH_TABLE_BITS_MASK);
      }
    
      /** Gets the hash table mask using the stored number of hash table bits. */
      private int hashTableMask() {
        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. src/encoding/gob/encode.go

    // To send an interface, we send a string identifying the concrete type, followed
    // by the type identifier (which might require defining that type right now), followed
    // by the concrete value. A nil value gets sent as the empty string for the name,
    // followed by no value.
    func (enc *Encoder) encodeInterface(b *encBuffer, iv reflect.Value) {
    	// Gobs can encode nil interface values but not typed interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top