Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,163 for WRITE (0.02 sec)

  1. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IOException.class, () -> out.write(data));
          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. 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();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. 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);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/ReferenceEntry.java

      /*
       * Implemented by entries that use write order. Write entries are maintained in a doubly-linked
       * list. New entries are added at the tail of the list at write time and stale entries are
       * expired from the head of the list.
       */
    
      /** Returns the time that this entry was last written, in ns. */
      @SuppressWarnings("GoodTime")
      long getWriteTime();
    
      /** Sets the entry write time in ns. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 18:34:30 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. 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();
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

                                    }
                                    bw.write(mapper.writeValueAsString(dataObj));
                                } else {
                                    bw.write(line);
                                }
                            } else {
                                bw.write(line);
                            }
                        }
                        bw.write("\n");
                    }
                    bw.flush();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 29.8K bytes
    - Viewed (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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
         * Read and Handle caching (RH)
         */
        public static final int SMB2_LEASE_READ_HANDLE = 0x03;
    
        /**
         * Read and Write caching (RW)
         */
        public static final int SMB2_LEASE_READ_WRITE = 0x05;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top