Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 4,342 for switch (0.53 sec)

  1. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

        //                                                                        ============
    
        private static OptionalEntity<CharMappingItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final CharMappingItem entity = new CharMappingItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                return null;
            }
    
            try {
                return storage.get(BlobId.of(bucketName, path));
            } catch (final StorageException e) {
                final int code = e.getCode();
                switch (code) {
                case 404:
                    if (logger.isDebugEnabled()) {
                        logger.debug("Object not found: bucket={}, path={}", bucketName, path);
                    }
                    break;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. internal/jwt/parser.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. 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 Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/AdminFileconfigAction.java

         * @return optional file configuration entity
         */
        public static OptionalEntity<FileConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new FileConfig()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 19.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

        //                                                                        ============
    
        private static OptionalEntity<ProtwordsItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final ProtwordsItem entity = new ProtwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                final char ch = arr[si];
    
                switch (state) {
                case 0:
                    if (ch == ':') {
                        proto = str.substring(mark, si);
                        mark = si + 1;
                        state = 1;
                    }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      private static <E> ImmutableSortedSet<E> ofInternal(
          Comparator<? super E> comparator, E... elements) {
        checkNotNull(elements);
        switch (elements.length) {
          case 0:
            return emptySet(comparator);
          default:
            SortedSet<E> delegate = new TreeSet<E>(comparator);
            for (E element : elements) {
              checkNotNull(element);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
Back to top