Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 781 - 790 of 823 for existing (0.07 seconds)

  1. internal/mountinfo/mountinfo_linux_test.go

    			t.Errorf("got unexpected mountInfo[2]: %#v", mounts[2])
    		}
    	}
    	// Failure case mounts path doesn't exist, if not fail.
    	{
    		if _, err = readProcMounts(filepath.Join(dir, "non-existent")); err != nil && !os.IsNotExist(err) {
    			t.Fatal(err)
    		}
    	}
    }
    
    // Tests read proc mounts reader.
    func TestReadProcMountFrom(t *testing.T) {
    	successCase := `/dev/0 /path/to/0 type0 flags 0 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            directoryLeaseManager.requestDirectoryLease(directoryPath, DirectoryLeaseState.DIRECTORY_READ_HANDLE,
                    DirectoryCacheScope.IMMEDIATE_CHILDREN);
    
            // No cached listing initially
            assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath));
    
            // Setup mock files
            when(mockFile1.getName()).thenReturn("file1.txt");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

            dataConfigBhv.insertOrUpdate(dataConfig, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        /**
         * Sets up the search conditions for listing data configurations.
         *
         * <p>This method configures the condition bean with search criteria from the pager,
         * including name wildcards, handler name wildcards, and description matching.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

        void testGetPreNTLMResponse_invalidEncoding() {
            // Arrange
            when(cifsContext.getConfig()).thenReturn(configuration);
            when(configuration.getOemEncoding()).thenReturn("X-INVALID-ENCODING-NOT-EXISTENT");
    
            // Act + Assert
            RuntimeException ex = assertThrows(RuntimeException.class, () -> NtlmUtil.getPreNTLMResponse(cifsContext, "password", new byte[8]));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

            connectionListener.connectionClosed(connection)
          }
        }
    
        if (connections.isEmpty()) cleanupQueue.cancelAll()
      }
    
      /**
       * Performs maintenance on this pool, evicting the connection that has been idle the longest if
       * either it has exceeded the keep alive limit or the idle connections limit.
       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

            Map<String, Object> document = new HashMap<>();
            String[] values = parser.getFieldValues(document, "nonexistent");
    
            assertEquals("Non-existent field should return empty array", 0, values.length);
        }
    
        @Test
        public void test_getFieldValues_emptyList() throws Exception {
            Map<String, Object> document = new HashMap<>();
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/UserService.java

    /**
     * Service class for managing user operations in the Fess search system.
     * This service provides CRUD operations for user management, including user authentication,
     * password management, and user listing with pagination support.
     *
     */
    public class UserService {
    
        private static final Logger logger = LogManager.getLogger(UserService.class);
    
        /**
         * Default constructor for UserService.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java

                assertEquals(logId, jsonPath.getString("response.log.id"));
                logger.info("Get crawling info log by ID test completed");
            }
    
            // Test GET with non-existent ID
            response = checkMethodBase(new HashMap<>()).get("/api/admin/crawlinginfo/log/nonexistent_id").asString();
            assertEquals(1, JsonPath.from(response).getInt("response.status"));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:01:34 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.Min;
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing general system settings in the admin interface.
     * This form handles global configuration settings that affect the entire Fess system,
     * including crawling behavior, authentication, logging, and various system parameters.
     *
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 15.8K bytes
    - Click Count (0)
  10. cmd/kms-handlers_test.go

    			wantKeyNames:   []string{},
    		},
    		{
    			name:   "list keys as user set policy that allows listing but denies specific keys",
    			method: http.MethodGet,
    			path:   kmsKeyListPath,
    			query:  map[string]string{"pattern": "*"},
    			asRoot: false,
    
    			// It looks like this should allow listing any key that isn't "default-test-key", however
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top