Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for combine (0.23 sec)

  1. istioctl/pkg/tag/tag.go

    	}
    	fmt.Fprintf(w, tagCreatedStr, tagName, revision, tagName)
    	return nil
    }
    
    func analyzeWebhook(name, istioNamespace, wh, revision string, config *rest.Config) error {
    	sa := local.NewSourceAnalyzer(analysis.Combine("webhook", &webhook.Analyzer{}), "", resource.Namespace(istioNamespace), nil)
    	if err := sa.AddReaderKubeSource([]local.ReaderSource{{Name: "", Reader: strings.NewReader(wh)}}); err != nil {
    		return err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	// Marshal metadata
    	crc := hashDeterministicBytes(c.MetaSys)
    	c.MetaSys = nil
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    	binary.LittleEndian.PutUint32(tmp[:], uint32(crc^(crc>>32)))
    	return tmp
    }
    
    // UsesDataDir returns true if this object version uses its data directory for
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  3. src/cmd/cgo/doc.go

    combine the go.o object file and any supporting non-Go code into a
    final executable. External linking avoids the dynamic library
    requirement but introduces a requirement that the host linker be
    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/cmd/asm/doc.go

    /*
    Asm, typically invoked as “go tool asm”, assembles the source file into an object
    file named for the basename of the argument source file with a .o suffix. The
    object file can then be combined with other objects into a package archive.
    
    # Command Line
    
    Usage:
    
    	go tool asm [flags] file
    
    The specified file must be a Go assembly file.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  5. internal/pubsub/pubsub.go

    	sub := &Sub[T]{ch: subCh, types: Mask(mask.Mask()), filter: filter}
    	ps.subs = append(ps.subs, sub)
    
    	// We hold a lock, so we are safe to update
    	combined := Mask(atomic.LoadUint64(&ps.types))
    	combined.Merge(Mask(mask.Mask()))
    	atomic.StoreUint64(&ps.types, uint64(combined))
    
    	go func() {
    		<-doneCh
    
    		ps.Lock()
    		defer ps.Unlock()
    		var remainTypes Mask
    		for i, s := range ps.subs {
    			if s == sub {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/istiodconfig.go

    			if istiodReset && outputLogLevel != "" {
    				logCmd.Println(logCmd.UsageString())
    				return fmt.Errorf("--level cannot be combined with --reset")
    			}
    			if istiodReset && stackTraceLevel != "" {
    				logCmd.Println(logCmd.UsageString())
    				return fmt.Errorf("--stack-trace-level cannot be combined with --reset")
    			}
    			return nil
    		},
    		RunE: func(logCmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    	var wg sync.WaitGroup
    
    	args := LockArgs{
    		Owner:     owner,
    		UID:       id,
    		Resources: names,
    		Source:    source,
    		Quorum:    quorum,
    	}
    
    	// Combined timeout for the lock attempt.
    	ctx, cancel := context.WithTimeout(ctx, ds.Timeouts.Acquire)
    	defer cancel()
    
    	// Special context for NetLockers - do not use timeouts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    	}
    	return
    }
    
    // collectFragments reads until the first occurrence of delim in the input. It
    // returns (slice of full buffers, remaining bytes before delim, total number
    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    }
    
    // ParityCount returns the default parity count used while erasure
    // coding objects
    func (s *erasureSets) ParityCount() int {
    	return s.defaultParityCount
    }
    
    // StorageInfo - combines output of StorageInfo across all erasure coded object sets.
    func (s *erasureSets) StorageInfo(ctx context.Context) StorageInfo {
    	var storageInfo madmin.StorageInfo
    
    	storageInfos := make([]madmin.StorageInfo, len(s.sets))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("log requires pod name or --selector")
    			}
    			if reset && loggerLevelString != "" {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("--level cannot be combined with --reset")
    			}
    			if outputFormat != "" && outputFormat != summaryOutput {
    				return fmt.Errorf("--output is not applicable for this command")
    			}
    			return nil
    		},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top