Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 673 for Valid (0.02 sec)

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

        state.addListener(listener, executor);
      }
    
      /**
       * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It
       * is only valid to call this method if all of the services are {@linkplain State#NEW new}.
       *
       * @return this
       * @throws IllegalStateException if any of the Services are not {@link State#NEW new} when the
       *     method is called.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(attributes >= 0, "Attributes should be valid");
        }
    
        @Test
        void testSetTimestamps() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/timestamps.txt", context);
            file.createNewFile();
    
            long originalTime = file.lastModified();
            assertTrue(originalTime > 0, "File should have a valid timestamp");
    
            // Test setting timestamp 1 hour ago
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    	vectors := []struct {
    		input string // Input stream
    		cnt   int    // Expected number of headers read
    		err   error  // Expected error outcome
    	}{
    		{"", 0, io.EOF}, // Empty file is a "valid" tar file
    		{data1[:511], 0, io.ErrUnexpectedEOF},
    		{data1[:512], 1, io.ErrUnexpectedEOF},
    		{data1[:1024], 1, io.EOF},
    		{data1[:1536], 2, io.ErrUnexpectedEOF},
    		{data1[:2048], 2, io.EOF},
    		{data1, 2, io.EOF},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    // This will make the branch rebalance itself when scanned if the distribution of objects has changed.
    
    // scanDataFolder will scanner the basepath+cache.Info.Name and return an updated cache.
    // The returned cache will always be valid, but may not be updated from the existing.
    // Before each operation sleepDuration is called which can be used to temporarily halt the scanner.
    // If the supplied context is canceled the function will return at the first chance.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    The good news is, once you are on Python 3.10 you won't have to worry about that, as you will be able to simply use `|` to define unions of types:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // other operations, the cache and the removal queue won't change from this point on.
    
        // Verify that each received removal notification was valid
        for (RemovalNotification<String, String> notification : removalListener) {
          assertEquals("Invalid removal notification", notification.getKey(), notification.getValue());
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // other operations, the cache and the removal queue won't change from this point on.
    
        // Verify that each received removal notification was valid
        for (RemovalNotification<String, String> notification : removalListener) {
          assertEquals("Invalid removal notification", notification.getKey(), notification.getValue());
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // These contain bytes not in the decodabet.
        assertFailsToDecode(base16(), "\n\n", "Unrecognized character: 0xa");
        assertFailsToDecode(base16(), "EFGH", "Unrecognized character: G");
        // Valid base16 strings always have an even length.
        assertFailsToDecode(base16(), "A", "Invalid input length 1");
        assertFailsToDecode(base16(), "ABC");
        // These have a combination of invalid length and unrecognized characters.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                if (ssn != null) {
                    ssn.removeAttribute("npa-" + server);
                }
                if (sae.getNtStatus() == NtStatus.NT_STATUS_ACCESS_VIOLATION) {
                    /* Server challenge no longer valid for
                     * externally supplied password hashes.
                     */
                    resp.sendRedirect(req.getRequestURL().toString());
                    return;
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Test with different parameters
            result = response.readSetupWireFormat(buffer, 10, 50);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat with valid data")
        void testReadParametersWireFormat() throws Exception {
            byte[] buffer = new byte[8];
            int bufferIndex = 0;
    
            // status (2 bytes)
            SMBUtil.writeInt2(0, buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top