Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 293 for isSmall (0.08 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // Timed Get
      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/FileEntryTest.java

                    Arguments.of((LongGetter) FileEntry::length, -100L, "negative length"),
                    Arguments.of((LongGetter) FileEntry::length, 0L, "zero length"),
                    Arguments.of((LongGetter) FileEntry::length, 1L, "small length"));
        }
    
        @ParameterizedTest(name = "Long getter {2} returns {1}")
        @MethodSource("longGetterProvider")
        void longGetters_edgeCases(LongGetter getter, long value, String label) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. docs/en/docs/deployment/manually.md

    ## Server Machine and Server Program { #server-machine-and-server-program }
    
    There's a small detail about names to keep in mind. 💡
    
    The word "**server**" is commonly used to refer to both the remote/cloud computer (the physical or virtual machine) and also the program that is running on that machine (e.g. Uvicorn).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b><br><small>");
                        out.print(f.length() / 1024 + "KB <br>");
                        out.print(sdf.format(new Date(f.lastModified())));
                        out.print("</small>");
                        out.println("</a>");
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Arrange
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
            byte[] dst = new byte[5]; // Buffer too small
            int dstIndex = 0;
    
            // Act
            int bytesWritten = trans.writeDataWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(0, bytesWritten);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

                        out.print("\"><b>");
                        out.print(name);
                        out.print("</b><br><small>");
                        out.print(f.length() / 1024 + "KB <br>");
                        out.print(sdf.format(new Date(f.lastModified())));
                        out.print("</small>");
                        out.println("</a>");
                    }
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
         * single small value in {@code encode_in} and reads it in
         * {@code decode_out}.
         */
        private static class TestMessage extends DcerpcMessage {
            int decodedValue = 0;
    
            TestMessage() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  8. cmd/streaming-signature-v4_test.go

    		// Test - 3
    		bytes.NewReader(fmt.Appendf(nil, "%4097d", 1)),
    		// Test - 4
    		bytes.NewReader([]byte("1000;chunk-signature=111123333333333333334444211\r\n")),
    	}
    	testCases := []testCase{
    		// Test - 1 - small bufio reader.
    		{
    			bufio.NewReaderSize(readers[0], 16),
    			errLineTooLong,
    			nil,
    			nil,
    		},
    		// Test - 2 - unexpected end of the reader.
    		{
    			bufio.NewReader(readers[1]),
    			io.ErrUnexpectedEOF,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    				t.Errorf("Expected putObject to fail with %v, but failed with %v", toObjectErr(errErasureWriteQuorum, bucket, object), err)
    			}
    		})
    	}
    }
    
    // Test PutObject twice, one small and another bigger
    // than small data threshold and checks reading them again
    func TestPutObjectSmallInlineData(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    	defer cancel()
    
    	const numberOfDisks = 4
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        @Test
        @DisplayName("Should throw exception when buffer too small for path")
        void testBufferTooSmallForPath() throws Exception {
            // Given
            String longPath = "\\\\server\\very_long_share_name_that_exceeds_buffer";
            Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(mockConfig, longPath);
            byte[] smallBuffer = new byte[20]; // Too small for header + path
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top