Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 644 for constants (0.07 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

         */
        static final String DEFAULT_ENCODING = StandardCharsets.UTF_8.name();
    
        /** Constant for the platform specific line separator.*/
        private static final String LINE_SEPARATOR = System.lineSeparator();
    
        /** Constant for the radix of hex numbers.*/
        private static final int HEX_RADIX = 16;
    
        /** Constant for the length of a unicode literal.*/
        private static final int UNICODE_LEN = 4;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  2. internal/s3select/jstream/scratch.go

    package jstream
    
    import (
    	"unicode/utf8"
    )
    
    type scratch struct {
    	data []byte
    	fill int
    }
    
    // reset scratch buffer
    func (s *scratch) reset() { s.fill = 0 }
    
    // bytes returns the written contents of scratch buffer
    func (s *scratch) bytes() []byte { return s.data[0:s.fill] }
    
    // grow scratch buffer
    func (s *scratch) grow() {
    	ndata := make([]byte, cap(s.data)*2)
    	copy(ndata, s.data)
    	s.data = ndata
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 758 bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

            for (int i = 0; i < entry.getCount(); i++) {
              contents.add(entry.getElement());
            }
          }
          return ((Multiset<E>) gen.create(contents.toArray())).entrySet();
        }
    
        @SuppressWarnings("unchecked")
        @Override
        public Multiset.Entry<E>[] createArray(int length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/request-files.md

    Por ejemplo, dentro de una *path operation function* `async` puedes obtener los contenidos con:
    
    ```Python
    contents = await myfile.read()
    ```
    
    Si estás dentro de una *path operation function* normal `def`, puedes acceder al `UploadFile.file` directamente, por ejemplo:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | Detalles Técnicos de `async`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. docs/zh/docs/tutorial/request-files.md

    * `close()`:关闭文件。
    
    因为上述方法都是 `async` 方法,要搭配「await」使用。
    
    例如,在 `async` *路径操作函数* 内,要用以下方式读取文件内容:
    
    ```Python
    contents = await myfile.read()
    ```
    
    在普通 `def` *路径操作函数*  内,则可以直接访问 `UploadFile.file`,例如:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` 技术细节
    
    使用 `async` 方法时,**FastAPI** 在线程池中执行文件方法,并 `await` 操作完成。
    
    ///
    
    /// note | Starlette 技术细节
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  6. src/cmd/asm/internal/asm/parse.go

    		if p.have(scanner.Float) {
    			if prefix != '$' {
    				p.errorf("floating-point constant must be an immediate")
    			}
    			a.Type = obj.TYPE_FCONST
    			a.Val = p.floatExpr()
    			// fmt.Printf("FCONST %s\n", obj.Dconv(&emptyProg, 0, a))
    			p.expectOperandEnd()
    			return
    		}
    		if p.have(scanner.String) {
    			if prefix != '$' {
    				p.errorf("string constant must be an immediate")
    				return
    			}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  7. src/archive/tar/writer_test.go

    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    	hdr.Name = longName
    	var buf bytes.Buffer
    	writer := NewWriter(&buf)
    	if err := writer.WriteHeader(hdr); err != nil {
    		t.Fatal(err)
    	}
    	if _, err = writer.Write([]byte(contents)); err != nil {
    		t.Fatal(err)
    	}
    	if err := writer.Close(); err != nil {
    		t.Fatal(err)
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Dec 15 16:34:13 GMT 2025
    - 40.2K bytes
    - Click Count (0)
  8. .github/workflows/go.yml

          - master
    
    # This ensures that previous jobs for the PR are canceled when the PR is
    # updated.
    concurrency:
      group: ${{ github.workflow }}-${{ github.head_ref }}
      cancel-in-progress: true
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: Go ${{ matrix.go-version }} on ${{ matrix.os }} - healing
        runs-on: ${{ matrix.os }}
        strategy:
          matrix:
            go-version: [1.24.x]
            os: [ubuntu-latest]
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

                apilink.setAttribute("method", enumConstant.getName());
                return apilink;
            } else {
                listener.warning(String.format("Could not generate link for enum constant %s", enumConstant));
                Element element = document.createElement("UNKNOWN-ENUM");
                element.appendChild(document.createTextNode(enumConstant.toString()));
                return element;
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 21 06:20:45 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/path-operation-configuration.md

    Puedes definir el `status_code` (HTTP) que se utilizará en el response de tu *path operation*.
    
    Puedes pasar directamente el código `int`, como `404`.
    
    Pero si no recuerdas para qué es cada código numérico, puedes usar las constantes atajo en `status`:
    
    {* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *}
    
    Ese código de estado se usará en el response y se añadirá al esquema de OpenAPI.
    
    /// note | Detalles Técnicos
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top