Search Options

Results per page
Sort
Preferred Languages
Advance

Results 771 - 780 of 1,039 for kvar (0.32 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpDateTest.kt

    import java.util.Date
    import java.util.TimeZone
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    
    class HttpDateTest {
      private lateinit var originalDefault: TimeZone
    
      @BeforeEach
      fun setUp() {
        originalDefault = TimeZone.getDefault()
        // The default timezone should affect none of these tests: HTTP specified GMT, so we set it to
        // something else.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

    import okhttp3.internal.tls.TrustRootIndex
    
    /** Android 10+ (API 29+). */
    @SuppressSignatureCheck
    class Android10Platform :
      Platform(),
      ContextAwarePlatform {
      override var applicationContext: Context? = null
    
      private val socketAdapters =
        listOfNotNull(
          Android10SocketAdapter.buildIfSupported(),
          DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. callbacks/helper.go

    	// when the length of mapValues is zero,return directly here
    	// no need to call stmt.SelectAndOmitColumns method
    	if len(mapValues) == 0 {
    		stmt.AddError(gorm.ErrEmptySlice)
    		return
    	}
    
    	var (
    		result                    = make(map[string][]interface{}, len(mapValues))
    		selectColumns, restricted = stmt.SelectAndOmitColumns(true, false)
    	)
    
    	for idx, mapValue := range mapValues {
    		for k, v := range mapValue {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
      private lateinit var client: OkHttpClient
    
      @Before
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
            .cache(Cache(FakeFileSystem(), "/cache".toPath(), 10_000_000))
            .build()
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 22 20:03:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. errors.go

    package gorm
    
    import (
    	"errors"
    
    	"gorm.io/gorm/logger"
    )
    
    var (
    	// ErrRecordNotFound record not found error
    	ErrRecordNotFound = logger.ErrRecordNotFound
    	// ErrInvalidTransaction invalid transaction when you are trying to `Commit` or `Rollback`
    	ErrInvalidTransaction = errors.New("invalid transaction")
    	// ErrNotImplemented not implemented
    	ErrNotImplemented = errors.New("not implemented")
    	// ErrMissingWhereClause missing where clause
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            }
        }
    
        if (cacheResponse != null) {
          listener.cacheConditionalHit(call, cacheResponse)
        } else if (cache != null) {
          listener.cacheMiss(call)
        }
    
        var networkResponse: Response? = null
        try {
          networkResponse = chain.proceed(networkRequest)
        } finally {
          // If we're crashing on I/O or otherwise, don't leak the cache body.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-api.go

    	apiRequestsTTFBSecondsDistribution MetricName = "ttfb_seconds_distribution"
    
    	apiTrafficSentBytes MetricName = "traffic_sent_bytes"
    	apiTrafficRecvBytes MetricName = "traffic_received_bytes"
    )
    
    var (
    	apiRejectedAuthTotalMD = NewCounterMD(apiRejectedAuthTotal,
    		"Total number of requests rejected for auth failure", "type")
    	apiRejectedHeaderTotalMD = NewCounterMD(apiRejectedHeaderTotal,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. callbacks/create.go

    		if db.Statement.Result != nil {
    			db.Statement.Result.Result = result
    			db.Statement.Result.RowsAffected = db.RowsAffected
    		}
    
    		if db.RowsAffected == 0 {
    			return
    		}
    
    		var (
    			pkField     *schema.Field
    			pkFieldName = "@id"
    		)
    
    		if db.Statement.Schema != nil {
    			if db.Statement.Schema.PrioritizedPrimaryField == nil ||
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        )
    }
    
    @Timeout(60)
    @Tag("Slow")
    class DiskLruCacheTest {
      private lateinit var filesystem: FaultyFileSystem
      private var windows: Boolean = false
    
      @TempDir lateinit var cacheDirFile: File
      lateinit var cacheDir: Path
      private val appVersion = 100
      private lateinit var journalFile: Path
      private lateinit var journalBkpFile: Path
      private val taskFaker = TaskFaker()
      private val taskRunner = taskFaker.taskRunner
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    		defer cancel()
    		respBody, err := healthClient.Call(ctx, peerRESTMethodHealth, nil, nil, -1)
    		xhttp.DrainBody(respBody)
    		return !isNetworkError(err)
    	}
    	var gridConn atomic.Pointer[grid.Connection]
    
    	return &peerRESTClient{
    		host: peer, restClient: restClient, gridHost: gridHost,
    		gridConn: func() *grid.Connection {
    			// Lazy initialization of grid connection.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top