Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for character (0.18 sec)

  1. internal/event/target/mqtt.go

    func (target *MQTTTarget) init() error {
    	return target.initOnce.Do(target.initMQTT)
    }
    
    func (target *MQTTTarget) initMQTT() error {
    	args := target.args
    
    	// Using hex here, to make sure we avoid 23
    	// character limit on client_id according to
    	// MQTT spec.
    	clientID := fmt.Sprintf("%x", time.Now().UnixNano())
    
    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    		SetCleanSession(true).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	//
    	// By specification, the only other encoding permitted should be CP-437,
    	// but historically many ZIP readers interpret Name and Comment as whatever
    	// the system's local character encoding happens to be.
    	//
    	// This flag should only be set if the user intends to encode a non-portable
    	// ZIP file for a specific localized region. Otherwise, the Writer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. internal/lock/lock_windows.go

    	}
    	return lockedOpenFile(path, flag, perm, lockType)
    }
    
    // fixLongPath returns the extended-length (\\?\-prefixed) form of
    // path when needed, in order to avoid the default 260 character file
    // path limit imposed by Windows. If path is not easily converted to
    // the extended-length form (for example, if path is a relative path
    // or contains .. elements), or is short enough, fixLongPath returns
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  4. tests/upsert_test.go

    		if !regexp.MustCompile(`INTO .restricted_languages. .*\(.code.,.name.,.lang.\) .* (SET|UPDATE) .name.=.*.name.\W*$`).MatchString(r.Statement.SQL.String()) {
    			t.Errorf("Table with escape character, got %v", r.Statement.SQL.String())
    		}
    	}
    
    	user := *GetUser("upsert_on_conflict", Config{})
    	user.Age = 20
    	if err := DB.Create(&user).Error; err != nil {
    		t.Errorf("failed to create user, got error %v", err)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Sep 05 07:39:19 GMT 2022
    - 11.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	}
    	return c.rc.Close()
    }
    
    // keepHTTPReqResponseAlive can be used to avoid timeouts with long storage
    // operations, such as bitrot verification or data usage scanning.
    // Every 10 seconds a space character is sent.
    // keepHTTPReqResponseAlive will wait for the returned body to be read before starting the ticker.
    // The returned function should always be called to release resources.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    // given ASCII character in the set. The 128-bits of the lower 16 bytes,
    // starting with the least-significant bit of the lowest word to the
    // most-significant bit of the highest word, map to the full range of all
    // 128 ASCII characters. The 128-bits of the upper 16 bytes will be zeroed,
    // ensuring that any non-ASCII character will be reported as not in the set.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	// List of all pending uploads.
    	Uploads []MultipartInfo
    
    	// When a prefix is provided in the request, The result contains only keys
    	// starting with the specified prefix.
    	Prefix string
    
    	// A character used to truncate the object prefixes.
    	// NOTE: only supported delimiter is '/'.
    	Delimiter string
    
    	// CommonPrefixes contains all (if there are any) keys between Prefix and the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  8. migrator/migrator.go

    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/logger"
    	"gorm.io/gorm/schema"
    )
    
    // This regular expression seeks to find a sequence of digits (\d+) among zero or more non-digit characters (\D*),
    // with a possible trailing non-digit character (\D?).
    
    // For example, values that can pass this regular expression are:
    // - "123"
    // - "abc456"
    // -"%$#@789"
    var regFullDataType = regexp.MustCompile(`\D*(\d+)\D?`)
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    	if _, err := io.ReadFull(r, d); err != nil {
    		return err
    	}
    	f.Name = string(d[:filenameLen])
    	f.Extra = d[filenameLen : filenameLen+extraLen]
    	f.Comment = string(d[filenameLen+extraLen:])
    
    	// Determine the character encoding.
    	utf8Valid1, utf8Require1 := detectUTF8(f.Name)
    	utf8Valid2, utf8Require2 := detectUTF8(f.Comment)
    	switch {
    	case !utf8Valid1 || !utf8Valid2:
    		// Name and Comment definitely not UTF-8.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  10. src/builtin/builtin.go

    // used, by convention, to distinguish byte values from 8-bit unsigned
    // integer values.
    type byte = uint8
    
    // rune is an alias for int32 and is equivalent to int32 in all ways. It is
    // used, by convention, to distinguish character values from integer values.
    type rune = int32
    
    // any is an alias for interface{} and is equivalent to interface{} in all ways.
    type any = interface{}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top