Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,712 for kind (0.13 sec)

  1. callbacks/preload.go

    				switch rv := db.Statement.ReflectValue; rv.Kind() {
    				case reflect.Slice, reflect.Array:
    					if rv.Len() > 0 {
    						reflectValue := rel.FieldSchema.MakeSlice().Elem()
    						reflectValue.SetLen(rv.Len())
    						for i := 0; i < rv.Len(); i++ {
    							frv := rel.Field.ReflectValueOf(db.Statement.Context, rv.Index(i))
    							if frv.Kind() != reflect.Ptr {
    								reflectValue.Index(i).Set(frv.Addr())
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  2. callbacks/associations.go

    								}
    							}
    						}
    					}
    				}
    
    				switch db.Statement.ReflectValue.Kind() {
    				case reflect.Slice, reflect.Array:
    					var (
    						rValLen   = db.Statement.ReflectValue.Len()
    						objs      = make([]reflect.Value, 0, rValLen)
    						fieldType = rel.Field.FieldType
    						isPtr     = fieldType.Kind() == reflect.Ptr
    					)
    
    					if !isPtr {
    						fieldType = reflect.PtrTo(fieldType)
    					}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Tue Apr 11 03:06:13 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/test/remote-repo/org/apache/maven/its/plugins/maven-it-plugin/0.1/maven-it-plugin-0.1.jar

    of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ import org.apache.maven.plugin.AbstractMojo; /** * Does nothing. * * @goal java * @phase generate-sources * * @author...
    Archive
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

            val psi = source.psi
                ?: errorWithAttachment("PSI not found for source kind '${source.kind}'") {
                    withSymbolAttachment("symbolForContainingPsi", analysisSession, symbol)
                }
    
            if (source.kind != KtRealSourceElementKind) {
                errorWithAttachment("Cannot compute containing PSI for unknown source kind '${source.kind}' (${psi::class.simpleName})") {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeProvider.kt

                }.mapToDelegatedIfRequired()
            }
    
            private fun DeclarationDescriptor.isDelegatedIfRequired(): Boolean =
                !forDelegatedMembersOnly || this is CallableMemberDescriptor && kind == CallableMemberDescriptor.Kind.DELEGATION
    
            private inline fun <reified D : DeclarationDescriptor> Collection<D>.mapToDelegatedIfRequired(): Collection<D> {
                if (!forDelegatedMembersOnly) return this
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

        get() {
            return (this !is PropertyAccessorDescriptor
                    && kind != CallableMemberDescriptor.Kind.FAKE_OVERRIDE
                    && overriddenDescriptors.isNotEmpty())
        }
    
    internal val ClassDescriptor.isInterfaceLike: Boolean
        get() = when (kind) {
            ClassKind.CLASS, ClassKind.ENUM_CLASS, ClassKind.OBJECT, ClassKind.ENUM_ENTRY -> false
            else -> true
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 33.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                is FirJavaClass -> getFirJavaDeclaredMemberScope(firDeclaration, kind) ?: return getEmptyScope()
                else -> getFirKotlinDeclaredMemberScope(classSymbol, kind)
            }
    
            return KtFirDelegatingNamesAwareScope(firScope, builder)
        }
    
        private fun getFirKotlinDeclaredMemberScope(
            classSymbol: KtSymbolWithMembers,
            kind: DeclaredMemberScopeKind,
        ): FirContainingNamesAwareScope {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  8. statement.go

    					stmt.Dest = destValueCanAddr.Interface()
    					destValue = destValueCanAddr.Elem()
    				}
    
    				switch destValue.Kind() {
    				case reflect.Struct:
    					stmt.AddError(field.Set(stmt.Context, destValue, value))
    				default:
    					stmt.AddError(ErrInvalidData)
    				}
    			}
    
    			switch stmt.ReflectValue.Kind() {
    			case reflect.Slice, reflect.Array:
    				if len(fromCallbacks) > 0 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 18K bytes
    - Viewed (0)
  10. scan.go

    			reflectValue = db.Statement.ReflectValue
    		)
    
    		if reflectValue.Kind() == reflect.Interface {
    			reflectValue = reflectValue.Elem()
    		}
    
    		reflectValueType := reflectValue.Type()
    		switch reflectValueType.Kind() {
    		case reflect.Array, reflect.Slice:
    			reflectValueType = reflectValueType.Elem()
    		}
    		isPtr := reflectValueType.Kind() == reflect.Ptr
    		if isPtr {
    			reflectValueType = reflectValueType.Elem()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top