Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 263 for allocs (0.04 sec)

  1. src/bytes/buffer_test.go

    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 16:13:04 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            double avgAllocTimeNs = totalAllocTime.get() / (double) allocations.get();
            double avgReleaseTimeNs = totalReleaseTime.get() / (double) releases.get();
    
            System.out.printf("Buffer Cache Performance: %d allocs, %d releases in %.2f ms%n", allocations.get(), releases.get(),
                    overallTimeMs);
            System.out.printf("  Avg allocation time: %.2f ns%n", avgAllocTimeNs);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    	// If format.json is available and request sent the right disk-id, we allow the request
    	return true
    }
    
    // checkID - check if the disk-id in the request corresponds to the underlying disk.
    func (s *storageRESTServer) checkID(wantID string) bool {
    	if s.getStorage() == nil {
    		return false
    	}
    	if wantID == "" {
    		// Request sent empty disk-id, we allow the request
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 45.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         *         Returns true if no matching directive is found for the user agent.
         */
        public boolean allows(final String path, final String userAgent) {
            final Directive directive = getMatchedDirective(userAgent);
            if (directive == null) {
                return true;
            }
            return directive.allows(path);
        }
    
        /**
         * Gets the crawl delay value for the specified user agent from robots.txt.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/Network.java

      /**
       * Returns true if this network allows parallel edges. Attempting to add a parallel edge to a
       * network that does not allow them will throw an {@link IllegalArgumentException}.
       */
      boolean allowsParallelEdges();
    
      /**
       * Returns true if this network allows self-loops (edges that connect a node to itself).
       * Attempting to add a self-loop to a network that does not allow them will throw an {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/https.md

    For example, if the **application server** is only receiving communication from the trusted **proxy**, you can set it to `--forwarded-allow-ips="*"` to make it trust all incoming IPs, as it will only receive requests from whatever is the IP used by the **proxy**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 19:34:08 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users_test.go

    		})
    		if err != nil {
    			c.Fatalf("Unable to create svc acc: %v", err)
    		}
    		svcClient := s.getUserClient(c, cr.AccessKey, cr.SecretKey, "")
    		// Though the attached policy does not allow listing, it will be
    		// ignored because the plugin allows it.
    		c.mustListObjects(ctx, svcClient, bucket)
    	}
    
    	// 4. Check that service account's secret key and account status can be
    	// updated.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

         */
        public void setAnalyzer(final Analyzer analyzer) {
            this.analyzer = analyzer;
        }
    
        /**
         * Sets whether to allow leading wildcards in query terms.
         *
         * @param allowLeadingWildcard true to allow leading wildcards, false otherwise
         */
        public void setAllowLeadingWildcard(final boolean allowLeadingWildcard) {
            this.allowLeadingWildcard = allowLeadingWildcard;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

                TestCredentials creds = new TestCredentials("X", false, false, s, false);
                assertSame(s, creds.getSubject());
            }
    
            @Test
            @DisplayName("allows null subject")
            void subject_null() {
                TestCredentials creds = new TestCredentials("X", false, false, null, false);
                assertNull(creds.getSubject());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. cmd/kms-handlers_test.go

    			asRoot: false,
    
    			policy: `{"Effect": "Allow",
    				"Action": ["kms:CreateKey"] }`,
    
    			wantStatusCode: http.StatusOK,
    		},
    		{
    			name:   "create key as user set policy to allow want success",
    			method: http.MethodPost,
    			path:   kmsKeyCreatePath,
    			query:  map[string]string{"key-id": "second-new-test-key"},
    			asRoot: false,
    
    			policy: `{"Effect": "Allow",
    				"Action": ["kms:CreateKey"],
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
Back to top