Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 3,270 for switch (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/webconfig/AdminWebconfigAction.java

         * @return an optional WebConfig entity
         */
        public static OptionalEntity<WebConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new WebConfig()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

            }
    
            public ChannelInfo selectChannel(LoadBalancingStrategy strategy) {
                if (channels.isEmpty()) {
                    return null;
                }
    
                switch (strategy) {
                case ROUND_ROBIN:
                    int index = roundRobinIndex.getAndIncrement() % channels.size();
                    return channels.get(index);
    
                case LEAST_CONNECTIONS:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/main/webapp/js/popper.min.js

    X(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?F(o):null,a=o?U(o):null,s=n.x+n.width/2-r.width/2,f=n.y+n.height/2-r.height/2;switch(i){case D:t={x:s,y:n.y-r.height};break;case A:t={x:s,y:n.y+n.height};break;case L:t={x:n.x+n.width,y:f};break;case P:t={x:n.x-r.width,y:f};break;default:t={x:n.x,y:n.y}}var c=i?z(i):null;if(null!=c){var p="y"===c?"height":"width";switch(a){case W:t[c]=t[c]-(n[p]/2-r[p]/2);break;case B:t[c]=t[c]+(n[p]/2-r[p]/2)}}return t}function Y(e){return Object.assign({},{top:...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/archive/zip/reader.go

    	utf8Valid1, utf8Require1 := detectUTF8(f.Name)
    	utf8Valid2, utf8Require2 := detectUTF8(f.Comment)
    	switch {
    	case !utf8Valid1 || !utf8Valid2:
    		// Name and Comment definitely not UTF-8.
    		f.NonUTF8 = true
    	case !utf8Require1 && !utf8Require2:
    		// Name and Comment use only single-byte runes that overlap with UTF-8.
    		f.NonUTF8 = false
    	default:
    		// Might be UTF-8, might be some other encoding; preserve existing flag.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        }
    
        default void setResultCollapsed(final boolean value) {
            setSystemPropertyAsBoolean(Constants.RESULT_COLLAPSED_PROPERTY, value);
        }
    
        default boolean isResultCollapsed() {
            return switch (getFesenType()) {
            case Constants.FESEN_TYPE_CLOUD, Constants.FESEN_TYPE_AWS -> false;
            default -> getSystemPropertyAsBoolean(Constants.RESULT_COLLAPSED_PROPERTY, false);
            };
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        @Test
        @DisplayName("Reading with zero-length array returns 0")
        void readZeroLengthArrayReturnsZero() throws IOException {
            // Create stream with a message containing data
            byte[] data = new byte[] { 1, 2 };
            InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data));
            SocketInputStream sis = new SocketInputStream(in);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // Test with listener1
            factory.setOnDestroyListener(listener1);
            assertEquals(listener1, factory.getOnDestroyListener());
            factory.destroyObject(pooledObject);
            assertEquals(1, events.size());
            assertEquals("listener1", events.get(0));
    
            // Switch to listener2
            factory.setOnDestroyListener(listener2);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. gorm.go

    			preparedStmt = v.(*PreparedStmtDB)
    		} else {
    			preparedStmt = NewPreparedStmtDB(db.ConnPool, db.PrepareStmtMaxSize, db.PrepareStmtTTL)
    			db.cacheStore.Store(preparedStmtDBKey, preparedStmt)
    		}
    
    		switch t := tx.Statement.ConnPool.(type) {
    		case Tx:
    			tx.Statement.ConnPool = &PreparedStmtTX{
    				Tx:             t,
    				PreparedStmtDB: preparedStmt,
    			}
    		default:
    			tx.Statement.ConnPool = &PreparedStmtDB{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            // Message length
            int messageLength = buf.dec_ndr_long();
            message.setLength(messageLength);
    
            // Based on message type, decode specific data
            switch (messageType) {
            case WitnessNotificationMessage.WITNESS_RESOURCE_CHANGE:
                decodeResourceChangeMessage(buf, message);
                break;
            case WitnessNotificationMessage.WITNESS_CLIENT_MOVE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java

         * @param currentTime the current time
         * @return optional label type entity
         */
        public static OptionalEntity<LabelType> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new LabelType()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top