Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 5,301 for stringy (0.07 sec)

  1. src/archive/tar/reader.go

    func parsePAX(r io.Reader) (map[string]string, error) {
    	buf, err := readSpecialFile(r)
    	if err != nil {
    		return nil, err
    	}
    	sbuf := string(buf)
    
    	// For GNU PAX sparse format 0.0 support.
    	// This function transforms the sparse format 0.0 headers into format 0.1
    	// headers since 0.0 headers were not PAX compliant.
    	var sparseMap []string
    
    	paxHdrs := make(map[string]string)
    	for len(sbuf) > 0 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    func (w *Writer) Create(name string) (io.Writer, error) {
    	header := &FileHeader{
    		Name:   name,
    		Method: Deflate,
    	}
    	return w.CreateHeader(header)
    }
    
    // detectUTF8 reports whether s is a valid UTF-8 string, and whether the string
    // must be considered UTF-8 encoding (i.e., not compatible with CP-437, ASCII,
    // or any other common encoding).
    func detectUTF8(s string) (valid, require bool) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. cmd/signals.go

    	for {
    		select {
    		case err := <-globalHTTPServerErrorCh:
    			shutdownLogIf(context.Background(), err)
    			exit(stopProcess())
    		case osSignal := <-globalOSSignalCh:
    			logger.Info("Exiting on signal: %s", strings.ToUpper(osSignal.String()))
    			daemon.SdNotify(false, daemon.SdNotifyStopping)
    			exit(stopProcess())
    		case signal := <-globalServiceSignalCh:
    			switch signal {
    			case serviceRestart:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:02:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    func (stats *HTTPAPIStats) Get(api string) int {
    	if stats == nil {
    		return 0
    	}
    
    	stats.RLock()
    	defer stats.RUnlock()
    
    	val, ok := stats.apiStats[api]
    	if ok {
    		return val
    	}
    
    	return 0
    }
    
    // Load returns the recorded stats.
    func (stats *HTTPAPIStats) Load(toLower bool) map[string]int {
    	if stats == nil {
    		return map[string]int{}
    	}
    
    	stats.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/bucket-lifecycle-audit.go

    		ilmNewerNoncurrentVersions = "ilm-newer-noncurrent-versions"
    		ilmNoncurrentDays          = "ilm-noncurrent-days"
    	)
    	tags := make(map[string]string, 5)
    	if src > lcEventSrc_None {
    		tags[ilmSrc] = src.String()
    	}
    	tags[ilmAction] = event.Action.String()
    	tags[ilmRuleID] = event.RuleID
    
    	if !event.Due.IsZero() {
    		tags[ilmDue] = event.Due.Format(iso8601Format)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

         * @param activeProfileIds A {@link List} of profile IDs that must be activated.
         * @deprecated Use {@link #activateOptionalProfile(String)} or {@link #activateRequiredProfile(String)} instead.
         */
        @Deprecated
        public void overwriteActiveProfiles(List<String> activeProfileIds) {
            getActiveProfiles().forEach(this.activations::remove);
            activeProfileIds.forEach(this::activateOptionalProfile);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. cmd/erasure-utils.go

    	return totalWritten, nil
    }
    
    // returns deploymentID from uploadID
    func getDeplIDFromUpload(uploadID string) (string, error) {
    	uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID)
    	if err != nil {
    		return "", fmt.Errorf("error parsing uploadID %s (%w)", uploadID, err)
    	}
    	slc := strings.SplitN(string(uploadBytes), ".", 2)
    	if len(slc) != 2 {
    		return "", fmt.Errorf("uploadID %s has incorrect format", uploadID)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

        /* double */
        public void enc_ndr_string ( String s ) {
            align(4);
            int i = this.index;
            int len = s.length();
            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
            Encdec.enc_uint32le(0, this.buf, i);
            i += 4;
            Encdec.enc_uint32le(len + 1, this.buf, i);
            i += 4;
            System.arraycopy(Strings.getUNIBytes(s), 0, this.buf, i, len * 2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/strings/61901.md

    The [strings] package adds several functions that work with iterators:
    - [Lines] returns an iterator over
      the newline-terminated lines in the string s.
    - [SplitSeq] returns an iterator over
      all substrings of s separated by sep.
    - [SplitAfterSeq] returns an iterator
      over substrings of s split after each instance of sep.
    - [FieldsSeq] returns an iterator over
      substrings of s split around runs of whitespace characters,
      as defined by unicode.IsSpace.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 580 bytes
    - Viewed (0)
  10. schema/schema.go

    type Schema struct {
    	Name                      string
    	ModelType                 reflect.Type
    	Table                     string
    	PrioritizedPrimaryField   *Field
    	DBNames                   []string
    	PrimaryFields             []*Field
    	PrimaryFieldDBNames       []string
    	Fields                    []*Field
    	FieldsByName              map[string]*Field
    	FieldsByBindName          map[string]*Field // embedded fields is 'Embed.Field'
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jun 20 12:19:31 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top