Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 360 for exceeded (0.23 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> smallResponse.readDataWireFormat(buffer, 0, 10));
    
            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
    
          val body = response.body
    
          if (body.contentLength() > MAX_RESPONSE_SIZE) {
            throw IOException(
              "response size exceeds limit ($MAX_RESPONSE_SIZE bytes): ${body.contentLength()} bytes",
            )
          }
    
          val responseBytes = body.source().readByteString()
    
          return DnsRecordCodec.decodeAnswers(hostname, responseBytes)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                            } else {
                                responseData.setResponseBody(file, false);
                                if (logger.isDebugEnabled()) {
                                    logger.debug("File size exceeds cache threshold, using file reference: file={}, size={}, threshold={}",
                                            file.getAbsolutePath(), file.length(), maxCachedContentSize);
                                }
                            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbTreeTest.java

        }
    
        /**
         * Custom SmbTree interface for testing unwrap functionality.
         */
        interface CustomSmbTree extends SmbTree {
            void customMethod();
        }
    
        /**
         * Extended SmbTree interface for testing nested unwrapping.
         */
        interface ExtendedSmbTree extends SmbTree {
            void extendedMethod();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to set a reparse point on a file
         */
        public static final int FSCTL_SET_REPARSE_POINT = 0x000900A4;
        /**
         * Function code to retrieve extended DFS referrals
         */
        public static final int FSCTL_DFS_GET_REFERRALS_EX = 0x000601B0;
        /**
         * Function code to trim file level storage
         */
        public static final int FSCTL_FILE_LEVEL_TRIM = 0x00098208;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. internal/deadlineconn/deadlineconn_test.go

    			return
    		}
    
    		// Set a deadline in the past to indicate we want the next read to fail.
    		// Ensure we don't override it on read.
    		deadlineconn.SetReadDeadline(time.Unix(1, 0))
    
    		// Be sure to exceed update interval
    		time.Sleep(updateInterval * 2)
    
    		_, terr = deadlineconn.Read(b)
    		if terr == nil {
    			cerr = fmt.Errorf("could read from client, expected error, got %v", terr)
    			return
    		}
    	}()
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 11 17:15:17 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/FileUtilTest.java

            final byte[] bytes = FileUtil.readBytes(file, 1024);
            assertThat(new String(bytes, "UTF-8"), is(content));
        }
    
        /**
         * Test readBytes with custom maxSize - file exceeds limit
         *
         * @throws Exception
         */
        @Test(expected = IORuntimeException.class)
        public void testReadBytes_CustomMaxSize_ExceedsLimit() throws Exception {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         */
        public long length() throws SmbException {
            return file.length();
        }
    
        /**
         * Sets the length of the file. The file will be truncated or extended as necessary.
         *
         * @param newLength the new file length in bytes
         * @throws SmbException if an I/O error occurs
         */
        public void setLength(final long newLength) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                }
            }
    
            /*
             * MNG-4312: We neither have reserved all of the above magic expressions nor is their set fixed/well-known (it
             * gets occasionally extended by newer Maven versions). This imposes the risk for existing plugins to
             * unintentionally use such a magic expression for an ordinary property. So here we check whether we
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. cmd/bucket-object-lock.go

    // governance bypass headers are set and user has governance bypass permissions.
    // Objects in compliance mode can be overwritten only if retention date is being extended. No mode change is permitted.
    func enforceRetentionBypassForPut(ctx context.Context, r *http.Request, oi ObjectInfo, objRetention *objectlock.ObjectRetention, cred auth.Credentials, owner bool) error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 08 02:38:25 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top