Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 1,269 for inte (0.18 sec)

  1. cmd/os_unix.go

    		return &os.PathError{Op: "lstat", Path: name, Err: err}
    	}
    	return nil
    }
    
    // openFileWithFD return 'fd' based file descriptor
    func openFileWithFD(name string, flag int, perm os.FileMode) (fd int, err error) {
    	switch flag & writeMode {
    	case writeMode:
    		defer updateOSMetrics(osMetricOpenFileWFd, name)(err)
    	default:
    		defer updateOSMetrics(osMetricOpenFileRFd, name)(err)
    	}
    	var e error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            }
    
            @ParameterizedTest
            @DisplayName("Should handle various sector sizes")
            @ValueSource(ints = { 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536 })
            void shouldHandleVariousSectorSizes(int sectorSize) throws SMBProtocolDecodingException {
                // Given
                ByteBuffer buffer = ByteBuffer.allocate(24);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    	DownloadTTFB  madmin.TimeDurations
    	Error         string
    }
    
    func newRandomReader(size int) io.Reader {
    	return io.LimitReader(randreader.New(), int64(size))
    }
    
    type firstByteRecorder struct {
    	t *time.Time
    	r io.Reader
    }
    
    func (f *firstByteRecorder) Read(p []byte) (n int, err error) {
    	if f.t != nil || len(p) == 0 {
    		return f.r.Read(p)
    	}
    	// Read a single byte.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            buffer[6] = 0;
            buffer[7] = 0;
    
            return buffer;
        }
    
        private byte[] createDfsReferralBufferWithMultipleReferrals(int numReferrals) {
            // Each referral structure needs 20 bytes, plus string data
            int referralSize = 20;
            int referralsDataSize = numReferrals * referralSize;
    
            // Add space for string data for each referral
            String testPath = "\\server\\share";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Represents a request to parse Maven command-line arguments.
     * This interface encapsulates all the necessary information needed to parse
     * Maven commands and arguments into an {@link InvokerRequest}.
     *
     * @since 4.0.0
     */
    @Immutable
    @Experimental
    public interface ParserRequest {
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

                }
    
                @Override
                public int getCount() {
                  return backingEntry.getValue().size();
                }
              };
            }
          };
        }
    
        @Override
        int distinctElements() {
          return multimap.asMap().size();
        }
    
        @Override
        public int size() {
          return multimap.size();
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public int count(@Nullable Object element) {
          Collection<V> values = Maps.safeGet(multimap.asMap(), element);
          return (values == null) ? 0 : values.size();
        }
    
        @Override
        public int remove(@Nullable Object element, int occurrences) {
          checkNonnegative(occurrences, "occurrences");
          if (occurrences == 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/HandlerTest.java

        }
    
        @Test
        @DisplayName("parseURL: fragment is moved into path and ref cleared")
        void testParseURL_FragmentMovedToPath() throws MalformedURLException {
            // Arrange & Act
            Handler handler = newHandler();
            URL url = new URL(null, "smb://server/share#frag", handler);
    
            // Assert: ref is moved into path by Handler.parseURL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. docs/en/docs/index.md

    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    def update_item(item_id: int, item: Item):
        return {"item_name": item.name, "item_id": item_id}
    ```
    
    The `fastapi dev` server should reload automatically.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

        static final int DEFAULT_SO_TIMEOUT = 5000;
        static final int DEFAULT_RCV_BUF_SIZE = 576;
        static final int DEFAULT_SND_BUF_SIZE = 576;
        static final int NAME_SERVICE_UDP_PORT = 137;
        static final int DEFAULT_RETRY_COUNT = 2;
        static final int DEFAULT_RETRY_TIMEOUT = 3000;
    
        static final int RESOLVER_LMHOSTS = 1;
        static final int RESOLVER_BCAST = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top