Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 7,250 for return (0.13 sec)

  1. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/DataConfigDbm.java

        }
    
        public ColumnInfo columnHandlerName() {
            return _columnHandlerName;
        }
    
        public ColumnInfo columnHandlerParameter() {
            return _columnHandlerParameter;
        }
    
        public ColumnInfo columnHandlerScript() {
            return _columnHandlerScript;
        }
    
        public ColumnInfo columnName() {
            return _columnName;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	if i := Index(s, sep); i >= 0 {
    		return s[:i], s[i+len(sep):], true
    	}
    	return s, nil, false
    }
    
    // Clone returns a copy of b[:len(b)].
    // The result may have additional unused capacity.
    // Clone(nil) returns nil.
    func Clone(b []byte) []byte {
    	if b == nil {
    		return nil
    	}
    	return append([]byte{}, b...)
    }
    
    // CutPrefix returns s without the provided leading prefix byte slice
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. internal/grid/stream.go

    				return err
    			}
    			// Fall through to be sure we have returned all responses.
    			doneCh = nil
    		case resp, ok := <-s.responses:
    			if !ok {
    				done = true
    				return nil
    			}
    			if resp.Err != nil {
    				s.cancel(resp.Err)
    				return resp.Err
    			}
    			err = next(resp.Msg)
    			if err != nil {
    				s.cancel(err)
    				return err
    			}
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/AccessTokenDbm.java

        }
    
        public ColumnInfo columnPermissions() {
            return _columnPermissions;
        }
    
        public ColumnInfo columnToken() {
            return _columnToken;
        }
    
        public ColumnInfo columnUpdatedBy() {
            return _columnUpdatedBy;
        }
    
        public ColumnInfo columnUpdatedTime() {
            return _columnUpdatedTime;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. cmd/peer-s3-server.go

    		g.Go(func() error {
    			if localDrives[index] == nil {
    				return errDiskNotFound
    			}
    			err := localDrives[index].MakeVol(ctx, bucket)
    			if opts.ForceCreate && errors.Is(err, errVolumeExists) {
    				// No need to return error when force create was
    				// requested.
    				return nil
    			}
    			return err
    		}, index)
    	}
    
    	errs := g.Wait()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    		return err
    	}
    	if err := unmarshalListOrMap(rawDump.Policies, &zDump.Policies); err != nil {
    		return err
    	}
    	zDump.WorkloadState = rawDump.WorkloadState
    	c.ztunnelDump = zDump
    	return nil
    }
    
    func unmarshalListOrMap[T any](input json.RawMessage, i *[]T) error {
    	if len(input) == 0 {
    		return nil
    	}
    	if input[0] == '[' {
    		return json.Unmarshal(input, i)
    	}
    	m := make(map[string]T)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwt.go

    	expStr := claims["exp"]
    	if expStr == "" {
    		return ErrTokenExpired
    	}
    
    	// No custom duration requested, the claims can be used as is.
    	if dsecs == "" {
    		return nil
    	}
    
    	if _, err := auth.ExpToInt64(expStr); err != nil {
    		return err
    	}
    
    	defaultExpiryDuration, err := GetDefaultExpiration(dsecs)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/tag.go

    			if len(args) == 0 {
    				return fmt.Errorf("must provide a tag for modification")
    			}
    			if len(args) > 1 {
    				return fmt.Errorf("must provide a single tag for creation")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  9. internal/ringbuffer/ring_buffer.go

    	defer r.mu.Unlock()
    
    	if r.w == r.r {
    		if r.isFull {
    			return r.size
    		}
    		return 0
    	}
    
    	if r.w > r.r {
    		return r.w - r.r
    	}
    
    	return r.size - r.r + r.w
    }
    
    // Capacity returns the size of the underlying buffer.
    func (r *RingBuffer) Capacity() int {
    	return r.size
    }
    
    // Free returns the length of available bytes to write.
    func (r *RingBuffer) Free() int {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                return executeCommand(updateCommand, username, password) == 0;
            }
            return true;
        }
    
        @Override
        public User load(final User user) {
            return user;
        }
    
        protected boolean isTargetUser(final String username) {
            if (targetUsers == null) {
                return true;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top