Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 1,662 for wrote (0.01 seconds)

  1. ci/official/utilities/extract_resultstore_links.py

        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
        f.write(b'<?xml version="1.0"?>\n')
        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    def print_invocation_results(result_store_dict: ResultDictType):
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        int chunk2 = dataSize - chunk1;
    
        // Write just enough to not trip the threshold
        if (chunk1 > 0) {
          write(out, data, 0, chunk1, singleByte);
          assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source));
        }
        File file = out.getFile();
        assertThat(file).isNull();
    
        // Write data to go over the threshold
        if (chunk2 > 0) {
          write(out, data, chunk1, chunk2, singleByte);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Oct 30 16:30:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

    from inline_snapshot import snapshot
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        auto_error=True,
        scopes={"read": "Read access", "write": "Write access"},
    )
    
    
    async def get_token(token: Annotated[str, Depends(oauth2_scheme)]) -> str:
        return token
    
    
    app = FastAPI(dependencies=[Depends(get_token)])
    
    
    @app.get("/")
    async def root():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/PacTest.java

            baos.write(value & 0xFF);
            baos.write((value >> 8) & 0xFF);
            baos.write((value >> 16) & 0xFF);
            baos.write((value >> 24) & 0xFF);
        }
    
        private void writeLittleEndianLong(ByteArrayOutputStream baos, long value) {
            for (int i = 0; i < 8; i++) {
                baos.write((int) ((value >> (i * 8)) & 0xFF));
            }
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                }
            }
    
            /**
             * Writes a raw line of text to the temporary file.
             *
             * @param line the line of text to write
             */
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

                baos.write(content.length);
            } else {
                baos.write(0x82); // length of length = 2
                baos.write((content.length >> 8) & 0xFF);
                baos.write(content.length & 0xFF);
            }
    
            baos.write(content);
            return baos.toByteArray();
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            }
            return 0;
        }
    
        @Override
        public void write(final int b) throws SmbException {
            tmp[0] = (byte) b;
            write(tmp, 0, 1);
        }
    
        @Override
        public void write(final byte b[]) throws SmbException {
            write(b, 0, b.length);
        }
    
        @Override
        public void write(final byte b[], int off, int len) throws SmbException {
            if (len <= 0) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/TestCharSink.java

        return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) {
          @Override
          public void write(int c) throws IOException {
            super.write(c);
            flush();
          }
    
          @Override
          public void write(char[] cbuf, int off, int len) throws IOException {
            super.write(cbuf, off, len);
            flush();
          }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeInt(int v) throws IOException {
        out.write(0xFF & v);
        out.write(0xFF & (v >> 8));
        out.write(0xFF & (v >> 16));
        out.write(0xFF & (v >> 24));
      }
    
      /**
       * Writes a {@code long} as specified by {@link DataOutputStream#writeLong(long)}, except using
       * little-endian byte order.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

            cos.write(2);
            cos.write(3);
            assertTrue(cos.isInMemory());
            cos.write(4); // Exceeds threshold
            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(file.exists());
            cos.close();
        }
    
        @Test
        public void testGetDataInMemory() throws IOException {
            // getData() should return the written data when in memory
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Wed Nov 12 14:01:04 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top