Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,520 for _context (0.41 sec)

  1. cmd/perf-tests.go

    	}
    	// Read a single byte.
    	n, err = f.r.Read(p[:1])
    	if n > 0 {
    		t := time.Now()
    		f.t = &t
    	}
    	return n, err
    }
    
    // Runs the speedtest on local MinIO process.
    func selfSpeedTest(ctx context.Context, opts speedTestOpts) (res SpeedTestResult, err error) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return SpeedTestResult{}, errServerNotInitialized
    	}
    
    	var wg sync.WaitGroup
    	var errOnce sync.Once
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. cmd/healthcheck-handler.go

    				apiErr := toAPIError(r.Context(), err)
    				writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
    			case http.MethodGet:
    				writeErrorResponse(r.Context(), w, toAPIError(r.Context(), err), r.URL)
    			}
    			return
    		}
    	}
    
    	if globalEtcdClient != nil {
    		// Borrowed from
    		// https://github.com/etcd-io/etcd/blob/main/etcdctl/ctlv3/command/ep_command.go#L118
    		ctx, cancel := context.WithTimeout(r.Context(), defaultContextTimeout)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 26 07:44:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. cmd/benchmark-utils_test.go

    func benchmarkPutObjectPart(b *testing.B, instanceType string, objSize int) {
    	// create a temp Erasure/FS backend.
    	ctx, cancel := context.WithCancel(b.Context())
    	defer cancel()
    	objLayer, disks, err := prepareTestBackend(ctx, instanceType)
    	if err != nil {
    		b.Fatalf("Failed obtaining Temp Backend: <ERROR> %s", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Request.java

        public int size() {
            // Context header (16) + name length (4) + padding to 8-byte alignment (4) + data (32)
            return 16 + 4 + 4 + STRUCTURE_SIZE;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(0, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            PreauthIntegrityContext context = preauthService.initializeSession(sessionId, salt, PreauthIntegrityService.HASH_ALGO_SHA512);
    
            assertNotNull(context);
            assertEquals(PreauthIntegrityService.HASH_ALGO_SHA512, context.getHashAlgorithm());
            assertArrayEquals(salt, context.getSalt());
            assertTrue(context.isValid());
            assertNotNull(context.getCurrentHash());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

    import java.util.Properties;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationProperty;
    import org.apache.maven.model.Profile;
    import org.codehaus.plexus.context.Context;
    import org.codehaus.plexus.context.ContextException;
    import org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable;
    
    /**
     * SystemPropertyProfileActivator
     */
    @Deprecated
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-system-process.go

    	processVirtualMemoryMaxBytesMD    = NewGaugeMD(processVirtualMemoryMaxBytes, "Maximum virtual memory size in bytes")
    )
    
    func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) {
    	if stat.CPUTime() > 0 {
    		m.Set(processCPUTotalSeconds, float64(stat.CPUTime()))
    	}
    
    	if stat.ResidentMemory() > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                return queryHelper.build(searchRequestType, query, context -> {
                    if (SearchRequestType.ADMIN_SEARCH.equals(searchRequestType)) {
                        context.skipRoleQuery();
                    } else if (similarDocHash != null) {
                        final DocumentHelper documentHelper = ComponentUtil.getDocumentHelper();
                        context.addQuery(boolQuery -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  9. callbacks/create.go

    						if _, isZero := pkField.ValueOf(db.Statement.Context, rv); isZero {
    							db.AddError(pkField.Set(db.Statement.Context, rv, insertID))
    							insertID += pkField.AutoIncrementIncrement
    						}
    					}
    				}
    			case reflect.Struct:
    				_, isZero := pkField.ValueOf(db.Statement.Context, db.Statement.ReflectValue)
    				if isZero {
    					db.AddError(pkField.Set(db.Statement.Context, db.Statement.ReflectValue, insertID))
    				}
    			}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SSPContext.java

         */
        byte[] getSigningKey() throws CIFSException;
    
        /**
         * Checks whether the security context is established.
         * @return whether the context is established
         */
        boolean isEstablished();
    
        /**
         * Initializes the security context with the given token.
         * @param token the input token bytes
         * @param off offset into the token array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
Back to top