Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 858 for VALID (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            RdmaMemoryRegion region2 = bufferManager.getSendRegion(1024);
            assertNotNull(region2);
    
            // Both regions should be valid
            assertTrue(region1.isValid() || !region1.isValid()); // Either state is OK after release
            assertTrue(region2.isValid(), "New region should be valid");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        /* 1. Construction and basic getters                                    */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
        void testConstructionWithValidConfiguration() {
            assertDoesNotThrow(() -> new SmbComSeekResponse(mockConfig));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/ReferenceEntry.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An entry in a reference map.
     *
     * <p>Entries in the map can be in the following states:
     *
     * <p>Valid:
     *
     * <ul>
     *   <li>Live: valid key/value are set
     *   <li>Loading: loading is pending
     * </ul>
     *
     * <p>Invalid:
     *
     * <ul>
     *   <li>Expired: time expired (key/value may still be set)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).getTree();
        }
    
        /**
         * Test isValid() when the handle is valid.
         */
        @Test
        void testIsValid_whenValid() {
            when(smbFileHandle.isValid()).thenReturn(true);
            assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. cmd/xl-storage_unix_test.go

    // Tests if the directory and file creations happen with proper umask.
    func TestIsValidUmaskVol(t *testing.T) {
    	tmpPath := t.TempDir()
    	testCases := []struct {
    		volName       string
    		expectedUmask int
    	}{
    		{"is-this-valid", getUmask()},
    	}
    	testCase := testCases[0]
    
    	// Initialize a new xlStorage layer.
    	disk, err := newLocalXLStorage(tmpPath)
    	if err != nil {
    		t.Fatalf("Initializing xlStorage failed with %s.", err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                // No more pages
                this.done = true;
                return false;
            }
    
            @Override
            protected FileEntry[] getResults() {
                // Return current page if valid
                if (staticPages != null && pageIdx >= 0 && pageIdx < staticPages.size()) {
                    return staticPages.get(pageIdx);
                }
                return new FileEntry[0];
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

            }
    
            @Override
            public boolean refresh() {
                // MSAL4J handles token refresh internally through silent authentication
                // Check if token is still valid by comparing absolute timestamps
                final long tokenExpiryTime = authResult.expiresOnDate().getTime(); // milliseconds since epoch
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. .ci/java-versions.properties

    # This file is used with all of the non-matrix tests in Jenkins.
    
    # This .properties file defines the versions of Java with which to
    # build and test Elasticsearch for this branch. Valid Java versions
    # are 'java' or 'openjdk' followed by the major release number.
    
    ES_BUILD_JAVA=openjdk16
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 30 16:39:44 GMT 2021
    - 313 bytes
    - Click Count (0)
  9. internal/handlers/proxy.go

    	var addr string
    
    	if enableXFFHeader {
    		if fwd := r.Header.Get(xForwardedFor); fwd != "" {
    			// Only grab the first (client) address. Note that '192.168.0.1,
    			// 10.1.1.1' is a valid key for X-Forwarded-For where addresses after
    			// the first may represent forwarding proxies earlier in the chain.
    			s := strings.Index(fwd, ", ")
    			if s == -1 {
    				s = len(fwd)
    			}
    			addr = fwd[:s]
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

        }
    
        @Nested
        class ConstructorTests {
    
            @Test
            public void testConstructorWithValidUrl() throws MalformedURLException {
                // Test basic constructor with a valid SMB URL
                String url = "smb1://server/share/file.txt";
                SmbFile smbFile = new SmbFile(url);
                assertNotNull(smbFile);
                assertEquals("smb1://server/share/file.txt", smbFile.getPath());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top