Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for shorterOf (0.33 sec)

  1. src/main/java/jcifs/smb/SmbSessionImpl.java

                    setNetbiosName(ctx.getNetbiosName());
                    byte[] sk = ctx.getSigningKey();
                    if ( sk != null ) {
                        // session key is truncated to 16 bytes, right padded with 0 if shorter
                        byte[] key = new byte[16];
                        System.arraycopy(sk, 0, key, 0, Math.min(16, sk.length));
                        this.sessionKey = key;
                    }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Malloc profiling.
    // Patterned after tcmalloc's algorithms; shorter code.
    
    package runtime
    
    import (
    	"internal/abi"
    	"internal/profilerecord"
    	"internal/runtime/atomic"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers.go

    	// supporting resources like volumes and devices. If the context is canceled, the method should
    	// return context.Canceled unless it has successfully finished, which may occur when a shorter
    	// grace period is detected.
    	SyncTerminatingPod(ctx context.Context, pod *v1.Pod, podStatus *kubecontainer.PodStatus, gracePeriod *int64, podStatusFn func(*v1.PodStatus)) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server_test.go

    			expectedCases[r.Method+":"+r.Path] = false
    		}
    	}
    
    	// This is a sanity check that the Handle->HandleWithFilter() delegation is working
    	// Ideally, these would move to registered web services and this list would get shorter
    	expectedPaths := []string{"/healthz", "/metrics", "/metrics/cadvisor"}
    	for _, expectedPath := range expectedPaths {
    		if _, expected := expectedCases["GET:"+expectedPath]; !expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    						"minField":   "valuelength13",
    						"maxField":   "valueThatsVeryLongSee",
    						"otherField": "otherValue",
    					}},
    				applyPatchOperation{
    					"make maxField shorter",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"maxField": "l2",
    					}},
    				expectError{
    					applyPatchOperation{
    						"make maxField too long",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  6. src/time/format.go

    			return i, val[len(v):], nil
    		}
    	}
    	return -1, val, errBad
    }
    
    // appendInt appends the decimal form of x to b and returns the result.
    // If the decimal form (excluding sign) is shorter than width, the result is padded with leading 0's.
    // Duplicates functionality in strconv, but avoids dependency.
    func appendInt(b []byte, x int, width int) []byte {
    	u := uint(x)
    	if x < 0 {
    		b = append(b, '-')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/dependency_verification.adoc

    In `ignore-key` elements, either fingerprints or long (64-bit) IDs can be used. A shorter ID can only result in a bigger range of exclusion, therefore, it's safe to use.
    ====
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:36:31 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    			if wantMax > size {
    				wantMax = size
    			}
    			if err := readMore(wantMax); err != nil {
    				return nil, err
    			}
    
    			if int64(len(buf)) < want {
    				return nil, fmt.Errorf("buffer shorter than expected (buflen: %d, want: %d): %w", len(buf), want, errFileCorrupt)
    			}
    
    			tmp = buf[want:]
    			_, after, err := msgp.ReadUint32Bytes(tmp)
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/buildlist.go

    	//
    	// Once that is done, we may still need to add more roots to cover upgraded or
    	// otherwise-missing test dependencies for packages in "all". For those test
    	// dependencies, we prefer to add roots for packages with shorter import
    	// stacks first, on the theory that the module requirements for those will
    	// tend to fill in the requirements for their transitive imports (which have
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 16:04:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  10. src/runtime/mgcpacer.go

    	// (memoryLimitMinHeapGoalHeadroom, not pictured) because the aforementioned pacing inaccuracies
    	// disproportionately affect small heaps: as heaps get smaller, the pacer's inputs get fuzzier.
    	// Shorter GC cycles and less GC work means noisy external factors like the OS scheduler have a
    	// greater impact.
    
    	memoryLimit := uint64(c.memoryLimit.Load())
    
    	// Compute term 1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top