Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1621 - 1630 of 7,250 for return (0.18 sec)

  1. internal/dsync/dsync-client_test.go

    	return false
    }
    
    // Close closes the underlying socket file descriptor.
    func (restClient *ReconnectRESTClient) Close() error {
    	return nil
    }
    
    var (
    	errLockConflict = errors.New("lock conflict")
    	errLockNotFound = errors.New("lock not found")
    )
    
    func toLockError(err error) error {
    	if err == nil {
    		return nil
    	}
    
    	switch err.Error() {
    	case errLockConflict.Error():
    		return errLockConflict
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  2. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

            delegate = new MetadataStaxReader(contentTransformer::transform);
        }
    
        /**
         * Returns the state of the "add default entities" flag.
         *
         * @return boolean a field value
         */
        public boolean getAddDefaultEntities() {
            return delegate.getAddDefaultEntities();
        }
    
        /**
         * Sets the state of the "add default entities" flag.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

                return get(FessEnv.lasta_di_SMART_DEPLOY_MODE);
            }
    
            public String getDevelopmentHere() {
                return get(FessEnv.DEVELOPMENT_HERE);
            }
    
            public boolean isDevelopmentHere() {
                return is(FessEnv.DEVELOPMENT_HERE);
            }
    
            public String getEnvironmentTitle() {
                return get(FessEnv.ENVIRONMENT_TITLE);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java

        protected String getQueryClassName() {
            return PhraseQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final PhraseQuery phraseQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
                return convertPhraseQuery(context, phraseQuery, boost);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. schema/field.go

    			case []byte:
    				return field.Set(ctx, value, string(data))
    			case string:
    				if i, err := strconv.ParseFloat(data, 64); err == nil {
    					field.ReflectValueOf(ctx, value).SetFloat(i)
    				} else {
    					return err
    				}
    			default:
    				return fallbackSetter(ctx, value, v, field.Set)
    			}
    			return err
    		}
    	case reflect.String:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            }
    
            return false;
        }
    
        private static boolean isOldSetterOfUpgradedProperty(JApiMethod jApiMethod, Map<AccessorKey, ReplacedAccessor> upgradedMethods) {
            return isOldMethod(jApiMethod, upgradedMethods, SETTER_REGEX);
        }
    
        private static boolean isOldGetterOfUpgradedProperty(JApiMethod jApiMethod, Map<AccessorKey, ReplacedAccessor> upgradedMethods) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 02 14:20:08 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

      public void testPut_nullKeyAndValueSupported() {
        assertNull("put(null, null) should return null", put(nullKeyValueEntry));
        expectAdded(nullKeyValueEntry);
      }
    
      @CanIgnoreReturnValue
      private V put(Entry<K, V> entry) {
        return getMap().put(entry.getKey(), entry.getValue());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPut_nullKeyUnsupported()} so that tests of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            dataOffset = readInt2( buffer, bufferIndex );
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
        int readBytesWireFormat( byte[] buffer, int bufferIndex ) {
            // handled special in SmbTransport.doRecv()
            return 0;
        }
        public String toString() {
            return new String( "SmbComReadAndXResponse[" +
                super.toString() +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
        @Override
        public int size () {
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         * Gets the type of the event.
         *
         * @return The type of the event, never {@code null}.
         */
        Type getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return The current session, never {@code null}.
         */
        MavenSession getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return The current project or {@code null} if not applicable.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top