Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for createResource (0.23 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

                            if (!pidWritten) {
                                System.out.println("Worker daemon pid is " + ProcessHandle.current().pid());
                                FileObject file = processingEnv.getFiler().createResource(StandardLocation.SOURCE_OUTPUT, "resources", "pid.txt");
                                Writer writer = file.openWriter();
                                writer.write(String.valueOf(ProcessHandle.current().pid()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

                            if (!pidWritten) {
                                System.out.println("Worker daemon pid is " + ProcessHandle.current().pid());
                                FileObject file = processingEnv.getFiler().createResource(StandardLocation.SOURCE_OUTPUT, "resources", "pid.txt");
                                Writer writer = file.openWriter();
                                writer.write(String.valueOf(ProcessHandle.current().pid()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/jvm/java_plugin.adoc

    * If they use link:{javaApi}/javax/annotation/processing/Filer.html#createResource(javax.tools.JavaFileManager.Location,java.lang.CharSequence,java.lang.CharSequence,javax.lang.model.element.Element++...++)[Filer#createResource],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    			responsewriters.ErrorNegotiated(err, Codecs, schema.GroupVersion{Group: requestInfo.APIGroup, Version: requestInfo.APIVersion}, w, req)
    			return nil
    		}
    		return handlers.CreateResource(storage, requestScope, r.admission)
    	case "update":
    		return handlers.UpdateResource(storage, requestScope, r.admission)
    	case "patch":
    		return handlers.PatchResource(storage, requestScope, r.admission, supportedTypes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	}
    }
    
    func restfulCreateResource(r rest.Creater, scope handlers.RequestScope, admit admission.Interface) restful.RouteFunction {
    	return func(req *restful.Request, res *restful.Response) {
    		handlers.CreateResource(r, &scope, admit)(res.ResponseWriter, req.Request)
    	}
    }
    
    func restfulDeleteResource(r rest.GracefulDeleter, allowsOptions bool, scope handlers.RequestScope, admit admission.Interface) restful.RouteFunction {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

      }
    
      private static class UrlByteSourceFactory extends FileByteSourceFactory {
    
        @SuppressWarnings("CheckReturnValue") // only using super.createSource to create a file
        @Override
        public ByteSource createSource(byte[] bytes) throws IOException {
          super.createSource(bytes);
          return Resources.asByteSource(getFile().toURI().toURL());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.cc

                                       TFConcreteFunction* create_resource,
                                       TFConcreteFunction* initialize,
                                       TFConcreteFunction* destroy_resource,
                                       ImmediateTensorHandlePtr resource_handle)
        : TensorHandleConvertible(std::move(resource_handle)),
          device_(device),
          create_resource_(create_resource),
          initialize_(initialize),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultMetadataFileSourceCodec.java

            String name = decoder.readString();
            byte[] sha1 = decoder.readBinary();
            DefaultMetadataFileSource source = createSource(sha1, group, module, version, name);
            return source;
        }
    
        private DefaultMetadataFileSource createSource(byte[] sha1, String group, String module, String version, String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/DataAccessor.java

     * limitations under the License.
     */
    
    package org.gradle.caching.internal.tasks;
    
    import org.openjdk.jmh.annotations.Level;
    
    import java.io.IOException;
    
    public interface DataAccessor {
        DataSource createSource(String name, byte[] bytes, Level level) throws IOException;
        DataTarget createTarget(String name, Level level);
        DataTargetFactory createTargetFactory(String root, Level level) throws IOException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 998 bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/InMemoryDataAccessor.java

    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    
    public class InMemoryDataAccessor implements DataAccessor {
        @Override
        public DataSource createSource(String name, byte[] bytes, Level level) {
            return new Source(name, bytes);
        }
    
        @Override
        public DataTarget createTarget(String name, Level level) {
            return new Target(name);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top