Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 277 for register (0.29 seconds)

  1. src/archive/zip/register.go

    		panic("decompressor already registered")
    	}
    }
    
    // RegisterCompressor registers custom compressors for a specified method ID.
    // The common methods [Store] and [Deflate] are built in.
    func RegisterCompressor(method uint16, comp Compressor) {
    	if _, dup := compressors.LoadOrStore(method, comp); dup {
    		panic("compressor already registered")
    	}
    }
    
    func compressor(method uint16) Compressor {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  2. callbacks/callbacks.go

    	createCallback.Match(enableTransaction).Register("gorm:begin_transaction", BeginTransaction)
    	createCallback.Register("gorm:before_create", BeforeCreate)
    	createCallback.Register("gorm:save_before_associations", SaveBeforeAssociations(true))
    	createCallback.Register("gorm:create", Create(config))
    	createCallback.Register("gorm:save_after_associations", SaveAfterAssociations(true))
    	createCallback.Register("gorm:after_create", AfterCreate)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            assertEquals("processed: template with params", result);
        }
    
        // Test register with null factory throws exception
        @Test
        public void test_register_nullFactory() {
            ComponentUtil.register(null, "scriptEngineFactory");
    
            try {
                testScriptEngine.register();
                fail("Should throw exception when factory is null");
            } catch (NullPointerException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  4. tests/callbacks_test.go

    func TestCallbacksRemove(t *testing.T) {
    	db, _ := gorm.Open(nil, nil)
    	createCallback := db.Callback().Create()
    
    	createCallback.Before("*").Register("c1", c1)
    	createCallback.After("*").Register("c2", c2)
    	createCallback.Before("c4").Register("c3", c3)
    	createCallback.After("c2").Register("c4", c4)
    
    	// callbacks: []string{"c1", "c3", "c4", "c2"}
    	createCallback.Remove("c1")
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Mar 26 03:33:36 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

         * For other types of values, they are registered directly.
         *
         * @param data the RenderData object to register the value in
         * @param key the key to associate with the value
         * @param value the value to register; can be null, Entity, Collection, or any other object
         */
        public static void register(final RenderData data, final String key, final Object value) {
            if (value == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

        /**
         * Registers a client component with a regular expression.
         * The component will be loaded into all registered CrawlerClientFactories.
         * @param regex The regular expression to match URLs.
         * @param componentName The name of the component to register.
         */
        public synchronized void register(final String regex, final String componentName) {
            clientMap.put(regex, componentName);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  7. src/main/resources/fess_thumbnail.xml

    		<property name="name">"htmlThumbnailGenerator"</property>
    		<postConstruct name="addCondition">
    			<arg>"mimetype"</arg>
    			<arg>"text/html"</arg>
    		</postConstruct>
    		<postConstruct name="register"></postConstruct>
    	</component>
    	<component name="msofficeThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.CommandGenerator">
    		<property name="name">"msofficeThumbnailGenerator"</property>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 6K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

        /**
         * Initializes the CrawlerClientFactory.
         * Attempts to register itself with a "crawlerClientCreator" component if available.
         */
        @PostConstruct
        public void init() {
            try {
                final CrawlerClientCreator creator = crawlerContainer.getComponent("crawlerClientCreator");
                if (creator != null) {
                    creator.register(this);
                }
            } catch (final Exception e) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. cmd/lock-rest-server.go

    	logger.FatalIf(lockRPCUnlock.Register(gm, lockServer.UnlockHandler), "unable to register handler")
    	logger.FatalIf(lockRPCRLock.Register(gm, lockServer.RLockHandler), "unable to register handler")
    	logger.FatalIf(lockRPCRUnlock.Register(gm, lockServer.RUnlockHandler), "unable to register handler")
    
    	globalLockServer = lockServer.ll
    
    	go lockMaintenance(GlobalContext)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jan 31 19:54:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

        private final Object endpoint; // RdmaActiveEndpoint
        private Object memoryRegister; // IbvMr (memory register)
    
        /**
         * Create new DiSNI memory region
         *
         * @param buffer memory buffer to register
         * @param access access permissions
         * @param endpoint DiSNI endpoint for registration
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top