Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 335 for readLong (0.08 sec)

  1. internal/ringbuffer/README.md

    
    # Blocking vs Non-blocking
    
    The default behavior of the ring buffer is non-blocking, 
    meaning that reads and writes will return immediately with an error if the operation cannot be completed.
    If you want to block when reading or writing, you must enable it:
    
    ```go
    	rb := ringbuffer.New(1024).SetBlocking(true)
    ```
    
    Enabling blocking will cause the ring buffer to behave like a buffered [io.Pipe](https://pkg.go.dev/io#Pipe).
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    channel = new RandomAccessFile(touchfile, "rw").getChannel();
                    lock = channel.lock();
    
                    if (touchfile.canRead()) {
                        getLogger().debug("Reading resolution-state from: " + touchfile);
                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. docs/sts/dex.yaml

      alwaysShowLoginScreen: false
      # Uncommend the passwordConnector to use a specific connector for password grants
      passwordConnector: local
    
    # Instead of reading from an external storage, use this list of clients.
    #
    # If this option isn't chosen clients may be added through the gRPC API.
    staticClients:
      - id: example-app
        redirectURIs:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 15 11:55:55 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteSink.java

      /**
       * Writes all the bytes from the given {@code InputStream} to this sink. Does not close {@code
       * input}.
       *
       * @return the number of bytes written
       * @throws IOException if an I/O occurs while reading from {@code input} or writing to this sink
       */
      @CanIgnoreReturnValue
      public long writeFrom(InputStream input) throws IOException {
        checkNotNull(input);
    
        try (OutputStream out = openStream()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/resources/fess_label_en.properties

    labels.jobName=Name
    labels.jobStatus=Status
    labels.labelTypeIds=Labels
    labels.lang=lang
    labels.outputs=Target
    labels.pos=POS
    labels.purgeJobLogDay=Purge Job Log Before
    labels.purgeUserInfoDay=Purge User Before
    labels.reading=Reading
    labels.roleTypeIds=Role ID
    labels.scriptData=Script
    labels.scriptResult=Result
    labels.scriptType=Executor
    labels.segmentation=Segmentation
    labels.startTime=Start Time
    labels.target=Target
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

        private long fp;
        private int readSize, openFlags, access;
        private byte[] tmp = new byte[1];
    
        SmbFile file;
    
    /**
     * Creates an {@link java.io.InputStream} for reading bytes from a file on
     * an SMB server addressed by the <code>url</code> parameter. See {@link
     * jcifs.smb1.smb1.SmbFile} for a detailed description and examples of the smb
     * URL syntax.
     *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/MimeMap.java

            inLen = 0;
            while(( n = is.read( in, inLen, IN_SIZE - inLen )) != -1 ) {
                inLen += n;
            }
            if( inLen < 100 || inLen == IN_SIZE ) {
                throw new IOException( "Error reading jcifs/smb1/util/mime.map resource" );
            }
            is.close();
        }
    
        public String getMimeType( String extension ) throws IOException {
            return getMimeType( extension, "application/octet-stream" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

                    Collections.addAll(list, item1.getReadings()[i]);
                }
                if (item2.getReadings().length > i) {
                    for (final String reading : item2.getReadings()[i]) {
                        if (!list.contains(reading)) {
                            list.add(reading);
                        }
                    }
                }
                mergedItem.readings[i] = list.toArray(new String[list.size()]);
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        assertEquals(20, counter.skip(30));
        assertEquals(20, counter.getCount());
        assertEquals(0, counter.skip(20));
        assertEquals(20, counter.getCount());
    
        // Test reading a single byte while we're in the right state
        assertEquals(-1, counter.read());
        assertEquals(20, counter.getCount());
      }
    
      public void testReadArrayEOF() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LineReader.java

    import java.io.IOException;
    import java.io.Reader;
    import java.nio.CharBuffer;
    import java.util.ArrayDeque;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    
    /**
     * A class for reading lines of text. Provides the same functionality as {@link
     * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of
     * {@link Reader}.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top