Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for readUTF (0.16 sec)

  1. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/GradleWorkerMain.java

            for (int i = 0; i < sharedPackagesCount; i++) {
                sharedPackages.add(instr.readUTF());
            }
    
            // Read worker implementation classpath
            int classPathLength = instr.readInt();
            URL[] implementationClassPath = new URL[classPathLength];
            for (int i = 0; i < classPathLength; i++) {
                String url = instr.readUTF();
                implementationClassPath[i] = new URL(url);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/BootstrapSecurityManager.java

                int count = inputStream.readInt();
                StringBuilder classpathStr = new StringBuilder();
                for (int i = 0; i < count; i++) {
                    String entry = inputStream.readUTF();
                    File file = new File(entry);
                    addUrlMethod.invoke(systemClassLoader, file.toURI().toURL());
                    if (i > 0) {
                        classpathStr.append(File.pathSeparator);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaSerializationIntegrationTest.groovy

                        oos.writeUTF("42")
                    }
    
                    @Override
                    void readExternal(java.io.ObjectInput ois) {
                        value = ois.readUTF()
                    }
                }
    
                class SomeTask extends DefaultTask {
                    private final SomeBean bean = new SomeBean()
    
                    @TaskAction
                    void run() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

            return inputStream.readBoolean();
        }
    
        @Override
        public String readString() throws EOFException, IOException {
            return inputStream.readUTF();
        }
    
        @Override
        public byte readByte() throws IOException {
            return (byte) (inputStream.readByte() & 0xff);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

            }
    
            private
            fun readObject(objectInputStream: ObjectInputStream) {
                markRead("subclass")
                stringValue = objectInputStream.readUTF()
                writeOrder = objectInputStream.readObject().uncheckedCast()
            }
        }
    
        class SerializableRecursiveWriteReplaceBean(var value: Any? = null) : Serializable {
    
            @Suppress("unused")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

            }
        }
    
        override fun readObjectOverride(): Any? = readContext.runReadOperation {
            read()
        }
    
        override fun readInt(): Int = readContext.readInt()
    
        override fun readUTF(): String = readContext.readString()
    
        override fun read(b: ByteArray): Int = inputStream.read(b)
    
        override fun markSupported(): Boolean = inputStream.markSupported()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java

            return desc.forClass();
        }
    
        private Class<?> readClass() throws IOException, ClassNotFoundException {
            short id = readShort();
            String className = readUTF();
            if (id == SAME_CLASSLOADER_TOKEN) {
                return super.lookupClass(className);
            }
            ClassLoaderDetails classLoader = classLoaderDetails.get(id);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top