Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 5,397 for returns (0.09 sec)

  1. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return (ImmutableBiMap<K, V>) RegularImmutableBiMap.EMPTY;
      }
    
      /** Returns an immutable bimap containing a single entry. */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1) {
        checkEntryNotNull(k1, v1);
        return new RegularImmutableBiMap<>(new Object[] {k1, v1}, 1);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @BeforeEach
        void resetMocks() {
            Mockito.reset(transport, ctx, session, referral);
        }
    
        // Happy path: hasCapability returns based on provided capability codes
        @ParameterizedTest
        @DisplayName("hasCapability returns expected values for various caps")
        @ValueSource(ints = { -1, 0, 1, 1024 })
        void hasCapability_variousCaps(int cap) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Suppliers.java

          return Objects.hash(function, supplier);
        }
    
        @Override
        public String toString() {
          return "Suppliers.compose(" + function + ", " + supplier + ")";
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a supplier which caches the instance retrieved during the first call to {@code get()}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/Chars.java

        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
        return -1;
      }
    
      /**
       * Returns the start position of the first occurrence of the specified {@code target} within
       * {@code array}, or {@code -1} if there is no such occurrence.
       *
       * <p>More formally, returns the lowest index {@code i} such that {@code Arrays.copyOfRange(array,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashCode.java

        }
        return fromBytesNoCopy(bytes);
      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
          return ch - 'a' + 10;
        }
        throw new IllegalArgumentException("Illegal hexadecimal character: " + ch);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java

        }
    
        /**
         * Returns the target class.
         *
         * @return the target class
         */
        public Class<?> getTargetClass() {
            return targetClass;
        }
    
        /**
         * Returns the method name.
         *
         * @return the method name
         */
        public String getMethodName() {
            return methodName;
        }
    
        /**
         * Returns the argument types.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java

        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat returns 0")
        void testWriteSetupWireFormat() {
            byte[] buffer = new byte[100];
            int result = response.writeSetupWireFormat(buffer, 0);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat returns 0")
        void testWriteParametersWireFormat() {
            byte[] buffer = new byte[100];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. cmd/hasher.go

    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/Network.java

       *
       * @throws IllegalArgumentException if {@code node} is not an element of this network
       */
      int inDegree(N node);
    
      /**
       * Returns the count of {@code node}'s {@link #outEdges(Object) outgoing edges} in a directed
       * network. In an undirected network, returns the {@link #degree(Object)}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/FieldDesc.java

     */
    public interface FieldDesc {
    
        /**
         * Returns the {@link BeanDesc} of the class that owns this field.
         *
         * @return {@link BeanDesc}
         */
        BeanDesc getBeanDesc();
    
        /**
         * Returns the field.
         *
         * @return the field
         */
        Field getField();
    
        /**
         * Returns the field name.
         *
         * @return the field name
         */
        String getFieldName();
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top