Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 1,385 for putA (0.03 sec)

  1. internal/event/target/kafka.go

    func (target *KafkaTarget) Save(eventData event.Event) error {
    	if target.store != nil {
    		if target.batch != nil {
    			return target.batch.Add(eventData)
    		}
    		_, err := target.store.Put(eventData)
    		return err
    	}
    	if err := target.init(); err != nil {
    		return err
    	}
    	return target.send(eventData)
    }
    
    // send - sends an event to the kafka.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. internal/dsync/dsync_test.go

    				acc0 -= 100
    				acc1 += 100
    				m.Unlock(context.Background())
    			} else {
    				for i := 0; i < len(data); i += 4 {
    					data[i]++
    				}
    				// Elaborate way to say runtime.Gosched
    				// that does not put the goroutine onto global runq.
    				go func() {
    					c <- true
    				}()
    				<-c
    			}
    		}
    	})
    }
    
    func BenchmarkMutexSpin(b *testing.B) {
    	b.ResetTimer()
    	b.ReportAllocs()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 14:35:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

    class RequestCommonTest {
      @Test
      fun constructorNormal() {
        val url = "https://example.com/".toHttpUrl()
        val body = "hello".toRequestBody()
        val headers = headersOf("User-Agent", "RequestTest")
        val method = "PUT"
        val request =
          Request(
            url = url,
            headers = headers,
            method = method,
            body = body,
          )
        assertThat(request.url).isEqualTo(url)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        checkArgument(elements.length == 3);
                        // Put the sets in different orders for the hell of it
                        return Sets.union(
                            Sets.newLinkedHashSet(asList(elements)),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body.md

    /// info
    
    To send data, you should use one of: `POST` (the more common), `PUT`, `DELETE` or `PATCH`.
    
    Sending a body with a `GET` request has an undefined behavior in the specifications, nevertheless, it is supported by FastAPI, only for very complex/extreme use cases.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body.md

    /// info
    
    Pour envoyer de la donnée, vous devriez utiliser : `POST` (le plus populaire), `PUT`, `DELETE` ou `PATCH`.
    
    Envoyer un corps dans une requête `GET` a un comportement non défini dans les spécifications, cela est néanmoins supporté par **FastAPI**, seulement pour des cas d'utilisation très complexes/extrêmes.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:34:41 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    Those worker processes would be the ones running your application, they would perform the main computations to receive a **request** and return a **response**, and they would load anything you put in variables in RAM.
    
    <img src="/img/deployment/concepts/process-ram.svg">
    
    And of course, the same machine would probably have **other processes** running as well, apart from your application.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  9. docs/nl/docs/features.md

    * Automatische datamodel documentatie met <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (aangezien OpenAPI zelf...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 03 13:50:38 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          throws IOException {
        Manifest manifest = new Manifest();
        // Without version, the manifest is silently ignored. Ugh!
        manifest.getMainAttributes().put(Attributes.Name.MANIFEST_VERSION, "1.0");
        manifest.getMainAttributes().put(Attributes.Name.CLASS_PATH, jarFile.getName());
    
        Closer closer = Closer.create();
        try {
          FileOutputStream fileOut = closer.register(new FileOutputStream(jarFile));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top