Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 6,777 for RETURN (0.32 sec)

  1. cni/pkg/nodeagent/pod_cache.go

    func (p *podNetnsCache) ReadCurrentPodSnapshot() map[string]WorkloadInfo {
    	p.mu.RLock()
    	defer p.mu.RUnlock()
    	// snapshot the cache to avoid long locking
    	return maps.Clone(p.currentPodCache)
    }
    
    // Remove and return the Netns for the given uid
    // No need to return NetnsCloser here it will be closed automatically on GC.
    // (it may be used in parallel by other parts of the code, so we want it to be used only when not used)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      public static int hashCode(short value) {
        return value;
      }
    
      /**
       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value a primitive {@code short} value
       * @return a hash code for the value
       */
      public static int hashCode(short value) {
        return value;
      }
    
      /**
       * Returns the {@code short} value that is equal to {@code value}, if possible.
       *
       * @param value any value in the range of the {@code short} type
       * @return the {@code short} value that equals {@code value}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
            "computeIfAbsent(notPresent, function) should return new value",
            v3(),
            getMap()
                .computeIfAbsent(
                    k3(),
                    k -> {
                      assertEquals(k3(), k);
                      return v3();
                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/bytes/iter.go

    // It returns a single-use iterator.
    func Lines(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		for len(s) > 0 {
    			var line []byte
    			if i := IndexByte(s, '\n'); i >= 0 {
    				line, s = s[:i+1], s[i+1:]
    			} else {
    				line, s = s, nil
    			}
    			if !yield(line[:len(line):len(line)]) {
    				return
    			}
    		}
    		return
    	}
    }
    
    // explodeSeq returns an iterator over the runes in s.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:23:13 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableList.java

        }
    
        private int reverseIndex(int index) {
          return (size() - 1) - index;
        }
    
        private int reversePosition(int index) {
          return size() - index;
        }
    
        @Override
        public ImmutableList<E> reverse() {
          return forwardList;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          return forwardList.contains(object);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_py39.py

    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/ClassPath.java

            LocationInfo that = (LocationInfo) obj;
            return home.equals(that.home) && classloader.equals(that.classloader);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return home.hashCode();
        }
    
        @Override
        public String toString() {
          return home.toString();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  9. cmd/data-scanner.go

    	switch bitrotCycle {
    	case -1:
    		return madmin.HealNormalScan
    	case 0:
    		return madmin.HealDeepScan
    	}
    
    	if currentCycle-bitrotStartCycle < healObjectSelectProb {
    		return madmin.HealDeepScan
    	}
    
    	if time.Since(bitrotStartTime) > bitrotCycle {
    		return madmin.HealDeepScan
    	}
    
    	return madmin.HealNormalScan
    }
    
    type backgroundHealInfo struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/misc/Tuple4.java

                    return false;
                }
            } else if (!value3.equals(other.value3)) {
                return false;
            }
            if (value4 == null) {
                if (other.value4 != null) {
                    return false;
                }
            } else if (!value4.equals(other.value4)) {
                return false;
            }
            return true;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top