Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 2,651 for size8 (0.04 seconds)

  1. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            fileStandardInfo.decode(buffer, 0, buffer.length);
            assertEquals(expectedEndOfFile, fileStandardInfo.getSize());
        }
    
        @Test
        @DisplayName("Test size method returns 22")
        void testSize() {
            assertEquals(22, fileStandardInfo.size());
        }
    
        @Test
        @DisplayName("Test decode with valid data")
        void testDecodeWithValidData() throws SMBProtocolDecodingException {
            // Prepare test data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/request-files.md

    * `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo.
    * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo.
    * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo.
        * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            dataStoreParams.put("key2", 123);
            dataStoreParams.put("key3", null);
    
            Map<String, Object> map = dataStoreParams.asMap();
    
            assertNotNull(map);
            assertEquals(3, map.size());
            assertEquals("value1", map.get("key1"));
            assertEquals(123, map.get("key2"));
            assertNull(map.get("key3"));
    
            // Verify that returned map is a copy
            map.put("key4", "value4");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          }
    
          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                            }
                          };
                        }
                      };
                    }
    
                    @Override
                    public int size() {
                      return map.size();
                    }
    
                    @Override
                    public boolean remove(Object o) {
                      return map.entrySet().remove(o);
                    }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/FileEntryTest.java

            int attributes = mockEntry.getAttributes();
            long createTime = mockEntry.createTime();
            long lastModified = mockEntry.lastModified();
            long lastAccess = mockEntry.lastAccess();
            long size = mockEntry.length();
    
            // Assert: values and interactions
            assertEquals("file.txt", name, "getName should return stubbed value");
            assertEquals(1, type1);
            assertEquals(1, type2);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/EdgesConnecting.java

        E connectingEdge = getConnectingEdge();
        return (connectingEdge == null)
            ? ImmutableSet.<E>of().iterator()
            : Iterators.singletonIterator(connectingEdge);
      }
    
      @Override
      public int size() {
        return getConnectingEdge() == null ? 0 : 1;
      }
    
      @Override
      public boolean contains(@Nullable Object edge) {
        E connectingEdge = getConnectingEdge();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

    import jcifs.Configuration;
    import jcifs.internal.smb1.ServerMessageBlock;
    
    /**
     * SMB1 Query Information request message.
     *
     * This command is used to retrieve basic file information
     * such as attributes, size, and timestamps.
     */
    public class SmbComQueryInformation extends ServerMessageBlock {
    
        /**
         * Constructs a query information request.
         *
         * @param config the configuration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         */
        String getName();
    
        /**
         * Gets the full URL of the artifact.
         *
         * @return The full URL of the artifact, never {@code null}.
         */
        String getUrl();
    
        /**
         * The size of the artifact in bytes.
         *
         * @return The of the artifact in bytes or a negative value if unknown.
         */
        long getContentLength();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            assertFalse(handle.isSameTree(other));
            verify(treeConnection, times(2)).isSame(otherConn);
        }
    
        @Test
        @DisplayName("Buffer sizes and signing flags from negotiate response")
        void bufferSizesAndSigning() throws Exception {
            // Validate buffer sizes and signing flag are read from negotiate response
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top