Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 49 for emitDo (0.41 seconds)

  1. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                    replaceBlockQuote(response.contents).eachLine {
                        current.println("        $it")
                    }
                }
            }
    
            void emitDo(String method, String pathAndQuery, String body,
                    String catchPart, List warnings, boolean inSetup, boolean skipShardFailures) {
                def (String path, String query) = pathAndQuery.tokenize('?')
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  2. src/cmd/api/main_test.go

    	case *types.Const:
    		if w.isDeprecated(obj) {
    			w.emitf("const %s //deprecated", obj.Name())
    		}
    		w.emitf("const %s %s", obj.Name(), w.typeString(obj.Type()))
    		x := obj.Val()
    		short := x.String()
    		exact := x.ExactString()
    		if short == exact {
    			w.emitf("const %s = %s", obj.Name(), short)
    		} else {
    			w.emitf("const %s = %s  // %s", obj.Name(), short, exact)
    		}
    	case *types.Var:
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  3. internal/s3select/jstream/decoder.go

    	d.objectAsKVS = true
    	return d
    }
    
    // EmitKV enables emitting a jstream.KV struct when the items(s) parsed
    // at configured emit depth are within a JSON object. By default, only
    // the object values are emitted.
    func (d *Decoder) EmitKV() *Decoder {
    	d.emitKV = true
    	return d
    }
    
    // Recursive enables emitting all values at a depth higher than the
    // configured emit depth; e.g. if an array is found at emit depth, all
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  4. internal/s3select/jstream/README.md

    ```
    red
    green
    blue
    cyan
    magenta
    yellow
    black
    ```
    
    optionally, kev:value pairs can be emitted as an individual struct:
    ```go
    decoder := jstream.NewDecoder(f, 2).EmitKV() // enable KV streaming at a depth level of 2
    ```
    
    ```
    jstream.KV{desc RGB}
    jstream.KV{colors [red green blue]}
    jstream.KV{desc CMYK}
    jstream.KV{colors [cyan magenta yellow black]}
    ```
    
    ## Installing 
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. internal/s3select/jstream/decoder_test.go

    		t.Fatalf("expected 0 keyvalue items, got %d", kvcounter)
    	}
    	if counter != 15 {
    		t.Fatalf("expected 15 items, got %d", counter)
    	}
    
    	// test at depth level 1 w/ emitKV
    	counter = 0
    	kvcounter = 0
    	decoder = NewDecoder(mkReader(body), 1).EmitKV()
    
    	for mv = range decoder.Stream() {
    		switch mv.Value.(type) {
    		case KV:
    			kvcounter++
    		default:
    			counter++
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/security/oauth2-jwt.md

    ```
    
    Ele não é criptografado, então qualquer pessoa pode recuperar as informações do seu conteúdo.
    
    Mas ele é assinado. Assim, quando você recebe um token que você emitiu, você pode verificar que foi realmente você quem o emitiu.
    
    Dessa forma, você pode criar um token com um prazo de expiração, digamos, de 1 semana. E então, quando o usuário voltar no dia seguinte com o token, você sabe que ele ainda está logado no seu sistema.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

          }
        }
        when (selectedMethod) {
          METHOD_NO_AUTHENTICATION_REQUIRED -> {
            fromSink.writeByte(VERSION_5)
            fromSink.writeByte(selectedMethod)
            fromSink.emit()
          }
    
          else -> {
            throw ProtocolException("unsupported method: $selectedMethod")
          }
        }
      }
    
      private fun acceptCommand(
        fromAddress: InetAddress,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        server.webSocket!!.finishReader()
        server.listener.assertClosed(1000, "Bye!")
      }
    
      @Test
      fun emptyCloseInitiatesShutdown() {
        server.sink.write("8800".decodeHex()).emit() // Close without code.
        client.processNextFrame()
        client.listener.assertClosing(1005, "")
        client.webSocket!!.finishReader()
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy

                    if (snippet != null && line.trim() == '+') {
                        return
                    }
                    // Just finished
                    emit()
                }
                if (snippet != null) emit()
            }
        }
    
        static Source matchSource(String line) {
            def matcher = line =~ /\["?source"?,\s*"?([-\w]+)"?(,((?!id=).)*(id="?([-\w]+)"?)?(.*))?].*/
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 20 10:08:26 GMT 2021
    - 17.8K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial003_py310.py hl[12] *}
    
    Con esto, incluso si recibes un request con datos duplicados, se convertirá en un conjunto de elementos únicos.
    
    Y siempre que emitas esos datos, incluso si la fuente tenía duplicados, se emitirá como un conjunto de elementos únicos.
    
    Y también se anotará/documentará en consecuencia.
    
    ## Modelos Anidados { #nested-models }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
Back to Top