Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for imms (0.04 sec)

  1. src/go/doc/example.go

    	// Copy to avoid mutation.
    	imps := make([]*ast.ImportSpec, len(origImps))
    	copy(imps, origImps)
    	// Assume the imports are sorted by position.
    	slices.SortFunc(imps, func(a, b *ast.ImportSpec) int {
    		return cmp.Compare(a.Pos(), b.Pos())
    	})
    	// Assume gofmt has been applied, so there is a blank line between adjacent imps
    	// if and only if they are more than 2 positions apart (newline, tab).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/config.go

    func (itp *imageTextPrinter) PrintObj(obj runtime.Object, writer io.Writer) error {
    	var err error
    	if imgs, ok := obj.(*outputapiv1alpha3.Images); ok {
    		_, err = fmt.Fprintln(writer, strings.Join(imgs.Images, "\n"))
    	} else {
    		err = errors.New("unexpected object type")
    	}
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/read.go

    		// cgo filtering, so no explicitFiles check here.
    		// Why? Because we always have, and it's not worth breaking
    		// that behavior now.
    		imps := sf.imports() // TODO(matloob): directly read import paths to avoid the extra strings?
    		for _, imp := range imps {
    			if imp.path == "C" && !tags["cgo"] && !tags["*"] {
    				continue Files
    			}
    		}
    
    		if !shouldBuild(sf, tags) {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          } else if (forceCopyElements) {
            this.elements = Arrays.copyOf(elements, elements.length);
            // we don't currently need to copy the counts array, because we don't use it directly
            // in built ISMs
          }
          forceCopyElements = false;
        }
    
        private void dedupAndCoalesce(boolean maybeExpand) {
          if (length == 0) {
            return;
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 35.5K bytes
    - Viewed (0)
Back to top