Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 2,967 for rint (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

             * @return the priority length
             */
            private static int calculatePriorityLength(final String pattern) {
                // For priority, we count the pattern length, treating * as having length 0
                // and $ as having length 1
                int length = 0;
                for (int i = 0; i < pattern.length(); i++) {
                    final char c = pattern.charAt(i);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. tests/test_form_default.py

    from starlette.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/urlencoded")
    async def post_url_encoded(age: Annotated[Optional[int], Form()] = None):
        return age
    
    
    @app.post("/multipart")
    async def post_multi_part(
        age: Annotated[Optional[int], Form()] = None,
        file: Annotated[Optional[bytes], File()] = None,
    ):
        return {"file": file, "age": age}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 848 bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      void readFully(byte[] b);
    
      @Override
      void readFully(byte[] b, int off, int len);
    
      // not guaranteed to skip n bytes so result should NOT be ignored
      // use ByteStreams.skipFully or one of the read methods instead
      @Override
      int skipBytes(int n);
    
      @CanIgnoreReturnValue // to skip a byte
      @Override
      boolean readBoolean();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/MultiInputStream.java

          advance();
        }
        return -1;
      }
    
      @Override
      public int read(byte[] b, int off, int len) throws IOException {
        checkNotNull(b);
        while (in != null) {
          int result = in.read(b, off, len);
          if (result != -1) {
            return result;
          }
          advance();
        }
        return -1;
      }
    
      @Override
      public long skip(long n) throws IOException {
        if (in == null || n <= 0) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            // Encode first
            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            // Create new context for decoding
            CompressionNegotiateContext decodedContext = new CompressionNegotiateContext();
            int decodedSize = decodedContext.decode(buffer, 0, encodedSize);
    
            assertEquals(encodedSize, decodedSize);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            int expected = level & 0xFFFF;
            assertEquals(expected, written);
        }
    
        // Helper method to extract string from buffer
        private String extractStringFromBuffer(byte[] buffer, int offset, int maxLen) {
            int end = offset;
            while (end < offset + maxLen && buffer[end] != 0) {
                end++;
            }
            return new String(buffer, offset, end - offset, StandardCharsets.UTF_8);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

    import org.apache.maven.project.MavenProject;
    
    public class BuildStep {
        public static final int CREATED = 0;
        public static final int PLANNING = 1;
        public static final int SCHEDULED = 2;
        public static final int EXECUTED = 3;
        public static final int FAILED = 4;
        public static final int SKIPPED = 5;
    
        public static final String PLAN = "$plan$";
        public static final String SETUP = "$setup$";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 30 16:21:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/dtyp/ACE.java

        }
    
        @Override
        public int getAccessMask() {
            return this.access;
        }
    
        @Override
        public SID getSID() {
            return this.sid;
        }
    
        @Override
        public int decode(final byte[] buf, int bi, final int len) {
            this.allow = buf[bi] == (byte) 0x00;
            bi++;
            this.flags = buf[bi++] & 0xFF;
            final int size = SMBUtil.readInt2(buf, bi);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

                private final int retryFailedDeploymentCount;
    
                DefaultArtifactDeployerRequest(
                        @Nonnull Session session,
                        @Nullable RequestTrace trace,
                        @Nonnull RemoteRepository repository,
                        @Nonnull Collection<ProducedArtifact> artifacts,
                        int retryFailedDeploymentCount) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            int size = request.size();
    
            // Then
            // Size should be aligned to 8 bytes: SMB2_HEADER_LENGTH + 4 bytes for cancel structure
            int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 4 + 7) / 8) * 8;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top