Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 818 for max (0.04 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

         */
        @Test
        @DisplayName("Test writeBytesWireFormat with very long file names")
        public void testWriteBytesWireFormatLongFileNames() {
            // Given
            String longOldFileName = "a".repeat(255); // Max filename length
            String longNewFileName = "b".repeat(255);
            byte[] dst = new byte[1024];
            smbComRename = new SmbComRename(config, longOldFileName, longNewFileName);
            int dstIndex = 0;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableMultimap.java

    import static com.google.common.collect.CollectPreconditions.checkNonnegative;
    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.Maps.immutableEntry;
    import static java.lang.Math.max;
    import static java.util.Arrays.asList;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 27.1K bytes
    - Click Count (0)
  3. gradlew

    location of your Java installation."
        fi
    fi
    
    # Increase the maximum file descriptors if we can.
    if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
        case $MAX_FD in #(
          max*)
            # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
            # shellcheck disable=SC2039,SC3045
            MAX_FD=$( ulimit -H -n ) ||
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 08:59:10 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  4. cmd/server_test.go

    	// execute the HTTP request to create bucket.
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// create listObjectsV1 request with invalid value of max-keys parameter. max-keys is set to -2.
    	request, err = newTestSignedRequest(http.MethodGet, getListObjectsV1URL(s.endPoint, bucketName, "", "-2", ""),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  5. ci/official/utilities/extract_resultstore_links.py

            tests_failed = False
          else:
            tests_failed = re.search(TESTS_FAILED_RE, backtrack_line)
          if build_failed or tests_failed:
            log_fragment = '\n'.join(
                log_lines[max(k - 20, 0):min(end_line + 1, len(log_lines) - 1)])
            lines['log_fragment'] = log_fragment
            lines['status'] = (InvokeStatus.build_failed if build_failed
                               else InvokeStatus.tests_failed)
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertInstanceOf(netdfs.DfsEnumArray200.class, dfsRootEnum.info.e);
    
            // Verify DFS name is set to server name
            assertEquals(TEST_SERVER, dfsRootEnum.dfs_name);
    
            // Verify preferred max length is set to maximum
            assertEquals(0xFFFF, dfsRootEnum.prefmaxlen);
    
            // Verify totalentries is initialized
            assertNotNull(dfsRootEnum.totalentries);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
                assertEquals(-1, response.getCount()); // -1 as signed int represents max unsigned value
                assertEquals(-2, response.getRemaining());
            }
    
            private byte[] createValidWriteResponse(int count, int remaining) {
                byte[] buffer = new byte[64];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  8. docs/features/interceptors.md

      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Response originalResponse = chain.proceed(chain.request());
        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      }
    };
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/ByteSourceTest.java

    import static com.google.common.io.TestOption.WRITE_THROWS;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Byte.toUnsignedInt;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertThrows;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/DiscreteDomain.java

          checkNonnegative(distance, "distance");
          return origin.add(BigInteger.valueOf(distance));
        }
    
        @Override
        public long distance(BigInteger start, BigInteger end) {
          return end.subtract(start).max(MIN_LONG).min(MAX_LONG).longValue();
        }
    
        private Object readResolve() {
          return INSTANCE;
        }
    
        @Override
        public String toString() {
          return "DiscreteDomain.bigIntegers()";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top