Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4781 - 4790 of 5,353 for Return (0.29 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        class SizeTests {
    
            @Test
            @DisplayName("Should return constant size of 24 bytes")
            void testSize() {
                lock = new Smb2Lock(100L, 200L, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK);
    
                assertEquals(24, lock.size());
            }
    
            @ParameterizedTest
            @DisplayName("Should return 24 bytes regardless of parameters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    var testString string // test data for write tests
    var testBytes []byte  // test data; same as testString but as a slice.
    
    type negativeReader struct{}
    
    func (r *negativeReader) Read([]byte) (int, error) { return -1, nil }
    
    func init() {
    	testBytes = make([]byte, N)
    	for i := 0; i < N; i++ {
    		testBytes[i] = 'a' + byte(i%26)
    	}
    	testString = string(testBytes)
    }
    
    // Verify that contents of buf match the string s.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            // Should read nothing (returns 0)
            assertEquals(0, read);
        }
    
        @Test
        void testReadDataWireFormat() {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[256];
            int read = trans2QueryPathInfo.readDataWireFormat(buffer, 0, buffer.length);
    
            // Should read nothing (returns 0)
            assertEquals(0, read);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          assertThat(network.edges()).hasSize(NUM_EDGES);
          AbstractNetworkTest.validateNetwork(network);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/GraphMutationTest.java

          assertThat(graph.edges()).hasSize(NUM_EDGES);
          AbstractGraphTest.validateGraph(graph);
        }
      }
    
      private static <L extends List<T> & RandomAccess, T> T getRandomElement(L list, Random gen) {
        return list.get(gen.nextInt(list.size()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Для этого используйте `yield` вместо `return`, а дополнительный код напишите после него.
    
    /// tip | Подсказка
    
    Обязательно используйте `yield` один-единственный раз.
    
    ///
    
    /// note | Технические детали
    
    Любая функция, с которой может работать:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/DialectVersionTest.java

            assertTrue(DialectVersion.SMB311.compareTo(DialectVersion.SMB1) > 0);
            assertEquals(0, DialectVersion.SMB302.compareTo(DialectVersion.SMB302));
        }
    
        @Test
        @DisplayName("Should return consistent ordinal values")
        void testOrdinalValues() {
            // Ordinal values should be consistent with enum declaration order
            assertTrue(DialectVersion.SMB1.ordinal() < DialectVersion.SMB202.ordinal());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        /**
         * The query to execute when the term matches.
         */
        @Required
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String query;
    
        /**
         * The maximum number of results to return.
         */
        @Required
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer maxSize;
    
        /**
         * The boost score for matched results.
         */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/lang/ro.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/plugins/form-validator/lang/fa.js

     *
     *  @version 2.3.77
     *  @website http://formvalidator.net/
     *  @author Victor Jonsson, http://victorjonsson.se
     *  @license MIT
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.9K bytes
    - Viewed (0)
Back to top