Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 3,270 for switch (0.05 sec)

  1. cmd/lock-rest-server.go

    	go lockMaintenance(GlobalContext)
    }
    
    func (l *lockRESTServer) makeResp(dst *dsync.LockResp, err error) (*dsync.LockResp, *grid.RemoteErr) {
    	*dst = dsync.LockResp{Code: dsync.RespOK}
    	switch err {
    	case nil:
    	case errLockNotInitialized:
    		dst.Code = dsync.RespLockNotInitialized
    	case errLockConflict:
    		dst.Code = dsync.RespLockConflict
    	case errLockNotFound:
    		dst.Code = dsync.RespLockNotFound
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jan 31 19:54:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

         *
         * @param innerQueryBuilder the query builder to add
         * @return this instance for method chaining
         */
        public DefaultQueryBuilder add(final QueryBuilder innerQueryBuilder) {
            switch (queryType) {
            case BOOL:
                ((BoolQueryBuilder) queryBuilder).should(innerQueryBuilder);
                break;
            case DISMAX:
                ((DisMaxQueryBuilder) queryBuilder).add(innerQueryBuilder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/Pac.java

                    }
    
                    byte[] bufferData = new byte[bufferSize];
                    System.arraycopy(data, (int) bufferOffset, bufferData, 0, bufferSize);
    
                    switch (bufferType) {
                    case PacConstants.LOGON_INFO:
                        // PAC Credential Information
                        if (this.logonInfo == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

            final int lastBytes = getLastBytes(inData);
            final byte[] outData = new byte[num * 3 + lastBytes];
            for (int i = 0; i < num; i++) {
                decode(inData, i * 4, outData, i * 3);
            }
            switch (lastBytes) {
            case 1:
                decode1byte(inData, num * 4, outData, num * 3);
                break;
            case 2:
                decode2byte(inData, num * 4, outData, num * 3);
                break;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. callbacks/delete.go

    			return
    		}
    
    		for column, v := range selectColumns {
    			if !v {
    				continue
    			}
    
    			rel, ok := db.Statement.Schema.Relationships.Relations[column]
    			if !ok {
    				continue
    			}
    
    			switch rel.Type {
    			case schema.HasOne, schema.HasMany:
    				queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue)
    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

         * @return An optional entity of a data config.
         */
        public static OptionalEntity<DataConfig> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new DataConfig()).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
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

        //                                                                        ============
    
        private static OptionalEntity<StopwordsItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        Thread[] threads = new Thread[numThreads];
        long timeout = SECONDS.toNanos(60);
    
        Supplier<Boolean> supplier =
            new Supplier<Boolean>() {
              boolean isWaiting(Thread thread) {
                switch (thread.getState()) {
                  case BLOCKED:
                  case WAITING:
                  case TIMED_WAITING:
                    return true;
                  default:
                    return false;
                }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

          @Override
          public int hashCode() {
            // Adding the class hashCode to avoid a clash with Pred instances.
            return Succ.class.hashCode() + node.hashCode();
          }
        }
      }
    
      private static final Object PRED = new Object();
    
      // Every value in this map must either be an instance of PredAndSucc with a successorValue of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        public final String readLine() throws SmbException {
            final StringBuilder input = new StringBuilder();
            int c = -1;
            boolean eol = false;
    
            while (!eol) {
                switch (c = read()) {
                case -1:
                case '\n':
                    eol = true;
                    break;
                case '\r':
                    eol = true;
                    final long cur = fp;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top