Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for longText (0.23 sec)

  1. tests/migrate_test.go

    		Def string `gorm:"size:512;index:idx_def,unique"`
    		Abc string `gorm:"size:65000000"`
    	}
    
    	DB.Migrator().DropTable("my_tables")
    
    	sql := "CREATE TABLE `my_tables` (`def` varchar(512),`abc` longtext,UNIQUE INDEX `idx_def` (`def`))"
    	if err := DB.Exec(sql).Error; err != nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    
    	session := DB.Session(&gorm.Session{Logger: Tracer{
    		Logger: DB.Config.Logger,
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      return b == addressOffset + 4
    }
    
    /** Encodes an IPv6 address in canonical form according to RFC 5952. */
    internal fun inet6AddressToAscii(address: ByteArray): String {
      // Go through the address looking for the longest run of 0s. Each group is 2-bytes.
      // A run must be longer than one group (section 4.2.2).
      // If there are multiple equal runs, the first one must be used (section 4.2.3).
      var longestRunOffset = -1
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        for (policy in addressStates.values) {
          policy.scheduleOpener()
        }
      }
    
      /**
       * Performs maintenance on this pool, evicting the connection that has been idle the longest if
       * either it has exceeded the keep alive limit or the idle connections limit.
       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. cni/pkg/repair/netns.go

    	// We want the pause container, as the istio-validation one may exit before we are done.
    	// We do this by detecting the longest running process. We could look at `cmdline`, but is likely more reliable to weird platforms.
    	for _, p := range procs {
    		ns := getPidNamespace(p.PID)
    		fd, err := unix.Open(ns, unix.O_RDONLY, 0)
    		if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

        // Start by looking for exact matches. We start at the leftmost label. For example, foo.bar.com
        // will look like: [foo, bar, com], [bar, com], [com]. The longest matching rule wins.
        var exactMatch: String? = null
        for (i in domainLabelsUtf8Bytes.indices) {
          val rule = publicSuffixListBytes.binarySearch(domainLabelsUtf8Bytes, i)
          if (rule != null) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  6. cmd/utils.go

    func restQueries(keys ...string) []string {
    	var accumulator []string
    	for _, key := range keys {
    		accumulator = append(accumulator, key, "{"+key+":.*}")
    	}
    	return accumulator
    }
    
    // Suffix returns the longest common suffix of the provided strings
    func lcpSuffix(strs []string) string {
    	return lcp(strs, false)
    }
    
    func lcp(strs []string, pre bool) string {
    	// short-circuit empty list
    	if len(strs) == 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 32K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    return createElementToShorten(qualifierElement, qualifierClassId.asSingleFqName(), importAllInParent)
                }
            }
    
            return null
        }
    
        /**
         * Finds the longest qualifier in [wholeQualifierElement] which can be safely shortened in the [positionScopes].
         * [wholeQualifierClassId] is supposed to reflect the class which is referenced by the [wholeQualifierElement].
         *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InetAddresses.java

        }
        compressLongestRunOfZeroes(hextets);
        return hextetsToIPv6String(hextets);
      }
    
      /**
       * Identify and mark the longest run of zeroes in an IPv6 address.
       *
       * <p>Only runs of two or more hextets are considered. In case of a tie, the leftmost run wins. If
       * a qualifying run is found, its hextets are replaced by the sentinel value -1.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // This is to help clients reach servers in the most network-efficient way possible.
      // Clients can use the appropriate server address as per the CIDR that they match.
      // In case of multiple matches, clients should use the longest matching CIDR.
      // The server returns only those CIDRs that it thinks that the client can match.
      // For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP.
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    			v2, ok := sm.Metrics[dID]
    			if !ok {
    				v2 = madmin.SRMetric{}
    				v2.Failed.ErrCounts = make(map[string]int)
    			}
    
    			// use target endpoint metrics from node which has been up the longest
    			if v2.LastOnline.After(v.LastOnline) || v2.LastOnline.IsZero() {
    				v2.Endpoint = v.Endpoint
    				v2.LastOnline = v.LastOnline
    				v2.Latency = v.Latency
    				v2.Online = v.Online
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 182.7K bytes
    - Viewed (1)
Back to top