Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 129 for newobject (0.17 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/ObjectiveCHelloWorldApp.groovy

            return sourceFile("headers", "hello.h", """
                #ifndef HELLO_H
                #define HELLO_H
                #import <Foundation/Foundation.h>
    
                @interface Greeter : NSObject
                    - (void)sayHello;
                @end
    
                int sum(int a, int b);
    
                #ifdef FRENCH
                #pragma message("<==== compiling bonjour.h ====>")
                #else
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go

    	if attr.GetResource().Resource == "namespaces" &&
    		len(attr.GetSubresource()) == 0 &&
    		(attr.GetOperation() == admission.Create || attr.GetOperation() == admission.Update) {
    		accessor, err := meta.Accessor(attr.GetObject())
    		if err != nil {
    			return nil, err
    		}
    		return accessor.GetLabels(), nil
    	}
    
    	namespaceName := attr.GetNamespace()
    	namespace, err := m.NamespaceLister.Get(namespaceName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. plugin/pkg/admission/certificates/subjectrestriction/admission_test.go

    	return t.resource.WithVersion("ignored")
    }
    
    func (t *testAttributes) GetSubresource() string {
    	return t.subresource
    }
    
    func (t *testAttributes) GetObject() runtime.Object {
    	return t.obj
    }
    
    func (t *testAttributes) GetName() string {
    	return t.name
    }
    
    func errStr(err error) string {
    	if err == nil {
    		return ""
    	}
    	es := err.Error()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 27 15:50:14 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/admission_test.go

    	return func(ctx context.Context, a admission.Attributes, o admission.ObjectInterfaces) error {
    		objectMeta, err := meta.Accessor(a.GetObject())
    		if err != nil {
    			return err
    		}
    		objectMeta.SetManagedFields(with)
    		return nil
    	}
    }
    
    type mockAdmissionController struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 12 21:32:54 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/PingResponse.java

                }
                if (fieldSet.contains(ACTIVE_SHARDS_PERCENT_AS_NUMBER)) {
                    builder.field(ACTIVE_SHARDS_PERCENT_AS_NUMBER, response.getActiveShardsPercent());
                }
                builder.endObject();
                return builder;
            }, XContentType.JSON)) {
                message = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                if (StringUtil.isBlank(message)) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. internal/logger/reqinfo.go

    	UserAgent    string           // User Agent
    	DeploymentID string           // x-minio-deployment-id
    	RequestID    string           // x-amz-request-id
    	API          string           // API name - GetObject PutObject NewMultipartUpload etc.
    	BucketName   string           `json:",omitempty"` // Bucket name
    	ObjectName   string           `json:",omitempty"` // Object name
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                }
                try {
                    final GetObjectArgs args = GetObjectArgs.builder().bucket(bucketName).object(objectName).build();
                    return minioClient.getObject(args);
                } catch (InvalidKeyException | ErrorResponseException | IllegalArgumentException | InsufficientDataException | InternalException
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users-race_test.go

    	// Create a policy policy
    	policy := "mypolicy"
    	policyBytes := []byte(fmt.Sprintf(`{
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:PutObject",
        "s3:GetObject",
        "s3:ListBucket"
       ],
       "Resource": [
        "arn:aws:s3:::%s/*"
       ]
      }
     ]
    }`, bucket))
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

        }
    
        private PluginsMetadataGenerator(RepositorySystemSession session, Collection<? extends Metadata> metadatas) {
            this.processedPlugins = new LinkedHashMap<>();
            this.timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

            if (this.activeFeatures != null && !this.activeFeatures.isEmpty()) {
                builder.field(ACTIVE_FEATURES.getPreferredName(), this.activeFeatures);
            }
            printBoostAndQueryName(builder);
            builder.endObject();
        }
    
        @Override
        protected Query doToQuery(final QueryShardContext context) throws IOException {
            throw new UnsupportedOperationException("Query processing is not supported.");
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top