Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 744 for switch_a (0.16 sec)

  1. internal/auth/credentials.go

    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    	case int64:
    		expAt, err = exp, nil
    	case int:
    		expAt, err = int64(exp), nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. internal/logger/logger.go

    	if req == nil {
    		req = &ReqInfo{
    			API:       "SYSTEM",
    			RequestID: fmt.Sprintf("%X", time.Now().UTC().UnixNano()),
    		}
    	}
    	req.RLock()
    	defer req.RUnlock()
    
    	API := "SYSTEM"
    	switch {
    	case req.API != "":
    		API = req.API
    	case subsystem != "":
    		API += "." + subsystem
    	}
    
    	// Copy tags. We hold read lock already.
    	tags := make(map[string]interface{}, len(req.tags))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 09:43:48 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. .bazelrc

    build:linux --copt="-Wunused-result"
    build:linux --copt="-Werror=unused-result"
    # Add switch as an error on Linux.
    build:linux --copt="-Wswitch"
    build:linux --copt="-Werror=switch"
    
    # Linux ARM64 specific options
    build:linux_arm64 --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"
    
    
    # On Windows, `__cplusplus` is wrongly defined without this switch
    # See https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

        //                                                                        ============
    
        private static OptionalEntity<SynonymItem> getEntity(final CreateForm form) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                final SynonymItem entity = new SynonymItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY_STRINGS);
                return OptionalEntity.of(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                    }
                  },
                  directExecutor());
          for (int i = 0; i < 50_000; i++) {
            if (i % DIRECT_EXECUTIONS_PER_THREAD == 0) {
              // after some number of iterations, switch threads
              unused =
                  serializer.submit(
                      new Callable<@Nullable Void>() {
                        @Override
                        public @Nullable Void call() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

                addrs[0] = new UniAddress( NbtAddress.getByName( hostname ));
                return addrs;
            }
    
            for( i = 0; i < resolveOrder.length; i++ ) {
                try {
                    switch( resolveOrder[i] ) {
                        case RESOLVER_LMHOSTS:
                            if(( addr = Lmhosts.getByName( hostname )) == null ) {
                                continue;
                            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                 * old value when the session is re-established. Otherwise a
                 * "The parameter is incorrect" error can occur.
                 */
                uid = 0;
        
                do {
                    switch (state) {
                        case 10: /* NTLM */
                            if (auth != NtlmPasswordAuthentication.ANONYMOUS &&
                                    transport.hasCapability(SmbConstants.CAP_EXTENDED_SECURITY)) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  9. gorm.go

    			preparedStmt = v.(*PreparedStmtDB)
    		} else {
    			preparedStmt = NewPreparedStmtDB(db.ConnPool)
    			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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Oct 09 11:29:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. internal/jwt/parser.go

    func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) {
    	return jsonparser.ObjectEach(b, func(key []byte, value []byte, dataType jsonparser.ValueType, _ int) error {
    		if len(key) == 0 {
    			return nil
    		}
    		switch key[0] {
    		case 'a':
    			if string(key) == "accessKey" {
    				if dataType != jsonparser.String {
    					return errors.New("accessKey: Expected string")
    				}
    				c.AccessKey, err = jsonparser.ParseString(value)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top