Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 17 jdk.incubator.foreign.jmod - JDK Incubator Foreign
JDK 17 jdk.incubator.foreign.jmod is the JMOD file for JDK 17 HTTP Server module.
JDK 17 Incubator Foreign module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\jdk.incubator.foreign.jmod.
JDK 17 Incubator Foreign module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Incubator Foreign module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\jdk.incubator.foreign.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ jdk/internal/foreign/abi/x64/windows/TypeClass.java
/* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package jdk.internal.foreign.abi.x64.windows; import jdk.incubator.foreign.GroupLayout; import jdk.incubator.foreign.MemoryLayout; import jdk.incubator.foreign.ValueLayout; import jdk.internal.foreign.PlatformLayouts; import static jdk.internal.foreign.PlatformLayouts.Win64.VARARGS_ATTRIBUTE_NAME; enum TypeClass { STRUCT_REGISTER, STRUCT_REFERENCE, POINTER, INTEGER, FLOAT, VARARG_FLOAT; private static TypeClass classifyValueType(ValueLayout type) { // No 128 bit integers in the Windows C ABI. There are __m128(i|d) intrinsic types but they act just // like a struct when passing as an argument (passed by pointer). // https://docs.microsoft.com/en-us/cpp/cpp/m128?view=vs-2019 // x87 is ignored on Windows: // "The x87 register stack is unused, and may be used by the callee, // but must be considered volatile across function calls." // https://docs.microsoft.com/en-us/cpp/build/x64-calling-convention?view=vs-2019 return switch (PlatformLayouts.getKind(type)) { case CHAR, SHORT, INT, LONG, LONG_LONG -> INTEGER; case POINTER -> POINTER; case FLOAT, DOUBLE -> { if (type.attribute(VARARGS_ATTRIBUTE_NAME) .map(Boolean.class::cast).orElse(false)) { yield VARARG_FLOAT; } yield FLOAT; } }; } static boolean isRegisterAggregate(MemoryLayout type) { long size = type.byteSize(); return size == 1 || size == 2 || size == 4 || size == 8; } private static TypeClass classifyStructType(MemoryLayout layout) { if (isRegisterAggregate(layout)) { return STRUCT_REGISTER; } return STRUCT_REFERENCE; } static TypeClass typeClassFor(MemoryLayout type) { if (type instanceof ValueLayout) { return classifyValueType((ValueLayout) type); } else if (type instanceof GroupLayout) { return classifyStructType(type); } else { throw new IllegalArgumentException("Unhandled type " + type); } } }
⏎ jdk/internal/foreign/abi/x64/windows/TypeClass.java
Or download all of them as a single archive file:
File name: jdk.incubator.foreign-17.0.5-src.zip File size: 168767 bytes Release date: 2022-09-13 Download
⇒ JDK 17 jdk.incubator.vector.jmod - JDK Incubator Vector
2023-10-04, 3916👍, 0💬
Popular Posts:
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
What Is HttpComponents commons-httpclient-3.1.j ar?HttpComponents commons-httpclient-3.1.j aris the ...
The Java Naming and Directory Interface (JNDI) is part of the Java platform, providing applications ...
How to read XML document from socket connections with the socket\DelayedInput.java provided in the A...
Old version of xml-apis.jar. JAR File Size and Download Location: File name: xmlParserAPIs.jar File ...