Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,189 for pread (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      var peek: String? = null
    
      while (true) {
        // Read a scheme name for this challenge if we don't have one already.
        if (peek == null) {
          skipCommasAndWhitespace()
          peek = readToken()
          if (peek == null) return
        }
    
        val schemeName = peek
    
        // Read a token68, a sequence of parameters, or nothing.
        val commaPrefixed = skipCommasAndWhitespace()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. cmd/untar.go

    // the upstream reader after close has been called.
    type disconnectReader struct {
    	r  io.Reader
    	mu sync.Mutex
    }
    
    func (d *disconnectReader) Read(p []byte) (n int, err error) {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.r != nil {
    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/CurlResponse.java

                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
                while (length != -1) {
                    if (length != 0) {
                        baos.write(bytes, 0, length);
                    }
                    length = bis.read(bytes);
                }
                return baos.toString(encoding);
            } catch (final Exception e) {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (isStart && !isDirect) { // start of new frag, do trans
                off = in.read(buf, 0, 1024);
            } else {
                off = in.readDirect(buf, 0, buf.length);
            }
    
            if (buf[0] != 5 && buf[1] != 0)
                throw new IOException("Unexpected DCERPC PDU header");
    
            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/help.go

    		},
    		config.HelpKV{
    			Key:         LookupBindDN,
    			Description: `DN for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindDN),
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         LookupBindPassword,
    			Description: `Password for LDAP read-only service account used to perform DN and group lookups` + defaultHelpPostfix(LookupBindPassword),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

                InputSource inputSource = new InputSource(null, "classpath:/poms/factory/complex.xml");
                Model model = new MavenStaxReader().read(is, true, inputSource);
                InputLocation propertiesLocation = model.getLocation("properties");
                assertNotNull(propertiesLocation);
                assertEquals(13, propertiesLocation.getLineNumber());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.Source;
    
    /**
     * The {@code ModelParser} interface is used to locate and read {@link Model}s from the file system.
     * This allows plugging in additional syntaxes for the main model read by Maven when building a project.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    @Named
    public interface ModelParser extends SpiService {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. .github/workflows/create-release.yml

    name: Create Release
    
    on:
      push:
        tags:
          - 'v*.*.*'
    
    permissions:
      contents: write
      pull-requests: read
    
    jobs:
      create_release:
        name: Create Release
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
    
          - name: Generate Release Notes and Publish
            id: generate_release_notes
            uses: release-drafter/release-drafter@v6
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:31:04 UTC 2024
    - 663 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
    
                out.write( sbuf, 0, 4 + n );
                out.flush();
                /* Note the Transport thread isn't running yet so we can
                 * read from the socket here.
                 */
                if (peekKey() == null) /* try to read header */
                    throw new IOException( "transport closed in negotiate" );
                int size = Encdec.dec_uint16be( sbuf, 2 ) & 0xFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/ConcurrencyTest.java

                        while ( is.read() >= 0 ) {
                            readCnt++;
                        }
                    }
                    if ( log.isDebugEnabled() ) {
                        log.debug("Failures " + failCount.get() + " wrote " + writeCount.get() + " read " + readCnt);
                    }
                    assertEquals("Read less than we wrote", writeCount.get(), readCnt);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
Back to top