Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,703 for Fake (0.06 sec)

  1. internal/s3select/sql/statement.go

    		if err != nil {
    			return nil, err
    		}
    
    		var kvs jstream.KVS
    		switch v := txedRec.(type) {
    		case jstream.KVS:
    			kvs = v
    
    		case []interface{}:
    			recs := make([]*Record, len(v))
    			for i, val := range v {
    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/store/queuestore.go

    	if limit == 0 {
    		limit = defaultLimit
    	}
    
    	if ext == "" {
    		ext = defaultExt
    	}
    
    	return &QueueStore[I]{
    		directory:  directory,
    		entryLimit: limit,
    		fileExt:    ext,
    		entries:    make(map[string]int64, limit),
    	}
    }
    
    // Open - Creates the directory if not present.
    func (store *QueueStore[_]) Open() error {
    	store.Lock()
    	defer store.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description>
                Defines a default phase to bind a Mojo execution to if the user does not explicitly set a phase in the POM.
                &lt;p>&lt;b>Note:&lt;/b> This will not automagically make a Mojo run when the plugin declaration is added
                to the POM. It merely enables the user to omit the {@code &lt;phase&gt;} element from the
                surrounding {@code &lt;execution&gt;} element.&lt;/p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

         */
        fun onFailure(
          hostname: String,
          e: IOException,
        )
      }
    
      /**
       * Class of DNS addresses, such that clients that treat these differently, such
       * as attempting IPv6 first, can make such decisions.
       */
      @ExperimentalOkHttpApi
      enum class DnsClass(val type: Int) {
        IPV4(TYPE_A),
        IPV6(TYPE_AAAA),
      }
    
      @ExperimentalOkHttpApi
      companion object {
        const val TYPE_A = 1
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        mockWebServer.dispatcher = dispatcher
        val url = mockWebServer.url("/").toUrl()
        val conn = url.openConnection() as HttpURLConnection
        conn.responseCode // Force the connection to hit the "server".
        // Make sure our dispatcher got the request.
        assertThat(requestsMade.size).isEqualTo(1)
      }
    
      @Test
      fun outOfOrderResponses() {
        val firstResponseCode = AtomicInteger()
        val secondResponseCode = AtomicInteger()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

     *  Fix: Immediately update the connection's flow control window instead of waiting for the
        receiving stream to process it.
    
        This change may increase OkHttp's memory use for applications that make many concurrent HTTP
        calls and that can receive data faster than they can process it. Previously, OkHttp limited
        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    	srQueueStats InQueueStats
    	bucketStats  map[string]InQueueStats
    	sync.RWMutex // mutex for queue stats
    }
    
    func newQueueCache(r metrics.Registry) queueCache {
    	return queueCache{
    		bucketStats:  make(map[string]InQueueStats),
    		srQueueStats: newInQueueStats(r, "site"),
    	}
    }
    
    func (q *queueCache) update() {
    	q.Lock()
    	defer q.Unlock()
    	q.srQueueStats.update()
    	for _, s := range q.bucketStats {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    }
    
    func newZtunnelConnection(u *net.UnixConn) *ZtunnelConnection {
    	return &ZtunnelConnection{u: u, Updates: make(chan updateRequest, 100)}
    }
    
    func (z *ZtunnelConnection) Close() {
    	z.u.Close()
    }
    
    func (z *ZtunnelConnection) send(ctx context.Context, data []byte, fd *int) (*zdsapi.WorkloadResponse, error) {
    	ret := make(chan updateResponse, 1)
    	req := updateRequest{
    		Update: data,
    		Fd:     fd,
    		Resp:   ret,
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 29 16:08:35 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  9. tests/preload_suits_test.go

    			Name   string
    			Level2 Level2
    		}
    	)
    	DB.Migrator().DropTable(&Level3{}, &Level2{}, &Level1{})
    	if err := DB.AutoMigrate(&Level3{}, &Level2{}, &Level1{}); err != nil {
    		t.Error(err)
    	}
    
    	want := make([]Level3, 2)
    	want[0] = Level3{Level2: Level2{Level1: Level1{Value: "value"}}}
    	if err := DB.Create(&want[0]).Error; err != nil {
    		t.Error(err)
    	}
    	want[1] = Level3{Level2: Level2{Level1: Level1{Value: "value2"}}}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 18 05:38:46 UTC 2022
    - 30.3K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    		t.Fatal(err)
    	}
    	if _, err = writer.Write([]byte(contents)); err != nil {
    		t.Fatal(err)
    	}
    	if err := writer.Close(); err != nil {
    		t.Fatal(err)
    	}
    	// Simple test to make sure PAX extensions are in effect
    	if !bytes.Contains(buf.Bytes(), []byte("PaxHeaders.0")) {
    		t.Fatal("Expected at least one PAX header to be written.")
    	}
    	// Test that we can get a long name back out of the archive.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top