Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,508 for Pread (0.02 sec)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

            response.setContentCache(cache);
    
            try (InputStream stream = response.getContentAsStream()) {
                assertNotNull(stream);
                byte[] buffer = new byte[1024];
                int bytesRead = stream.read(buffer);
                assertEquals(data.length, bytesRead);
                assertArrayEquals(data, Arrays.copyOf(buffer, bytesRead));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithoutCache() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                try {
                    Map<String, ?> options = Collections.singletonMap(MetadataReader.IS_STRICT, Boolean.FALSE);
    
                    Metadata pluginGroupMetadata =
                            metadataReader.read(metadata.getPath().toFile(), options);
    
                    List<org.apache.maven.artifact.repository.metadata.Plugin> plugins = pluginGroupMetadata.getPlugins();
    
                    if (plugins != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 17 13:14:10 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. cmd/batch-job-common-types.go

    //     compress: true # S2/Snappy compressed archive
    //     smallerThan: 5MiB # create archive for all objects smaller than 5MiB
    //     skipErrs: false # skips any source side read() errors
    
    // BatchJobSnowball describes the snowball feature when replicating objects from a local source to a remote target
    type BatchJobSnowball struct {
    	line, col   int
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. internal/grid/msg.go

    	var sub *subHandlerID
    	if m.Payload == nil {
    		m.Payload = GetByteBuffer()[:0]
    	}
    	h, err := m.UnmarshalMsg(b)
    	if err != nil {
    		return nil, nil, fmt.Errorf("read write: %v", err)
    	}
    	if len(m.Payload) == 0 && m.Flags&FlagPayloadIsZero == 0 {
    		PutByteBuffer(m.Payload)
    		m.Payload = nil
    	}
    	if m.Flags&FlagCRCxxh3 != 0 {
    		const hashLen = 4
    		if len(h) < hashLen {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
         * Returns the path to the pom file for this project.
         * A project is usually read from a file named {@code pom.xml},
         * which contains the {@linkplain #getModel() model} in an XML form.
         * When a custom {@code org.apache.maven.api.spi.ModelParser} is used,
         * the path may point to a non XML file.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    					return nil, err
    				}
    			case 1, 2:
    				v, b, err := msgp.ReadBytesZC(b)
    				if err != nil {
    					return nil, err
    				}
    				if _, nbuf, err := msgp.ReadUint32Bytes(b); err == nil {
    					// Read metadata CRC (added in v2, ignore if not found)
    					b = nbuf
    				}
    
    				_, err = msgp.CopyToJSON(buf, bytes.NewReader(v))
    				if err != nil {
    					return nil, err
    				}
    				data = b
    			case 3:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 40.4K bytes
    - Viewed (0)
  7. cmd/bucket-policy-handlers.go

    		return
    	}
    
    	// Check if bucket exists.
    	if _, err := objAPI.GetBucketInfo(ctx, bucket, BucketOptions{}); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Read bucket access policy.
    	config, err := globalPolicySys.Get(bucket)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	configData, err := json.Marshal(config)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. internal/http/listener.go

    	Interface   string           // This is a VRF device passed via `--interface` flag
    	Trace       func(msg string) // Trace when starting.
    	IdleTimeout time.Duration    // Incoming TCP read/write timeout
    }
    
    // ForWebsocket returns TCPOptions valid for websocket net.Conn
    func (t TCPOptions) ForWebsocket() TCPOptions {
    	return TCPOptions{
    		UserTimeout: t.UserTimeout,
    		Interface:   t.Interface,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/bufio/example_test.go

    	fmt.Println("Buffer contents:", buf.String())
    	// Output:
    	// Bytes written: 41
    	// Buffer contents: Hello, world!
    	// This is a ReadFrom example.
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/documentMap.dfprop

        #  Elements of this map are as below:
        #   o key of map: Properties Title Name
        #   o baseDir: base directory for directory property. (NotRequired)
        #   o rootFile: root file to read properties (Required)
        #   o environmentMap: map of environment files, the value is dir path (NotRequired)
        #   o diffIgnoredKeyList: list of ignored keys for differences (NotRequired)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 31 23:35:14 UTC 2015
    - 9.4K bytes
    - Viewed (0)
Back to top