Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 467 for gflags (0.2 seconds)

  1. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals("Cp850", SmbConstants.DEFAULT_OEM_ENCODING);
            assertEquals(-1, SmbConstants.FOREVER);
        }
    
        @Test
        @DisplayName("Should validate flag combinations work correctly")
        void testFlagCombinations() {
            // Test that flags can be combined with bitwise OR
            int combinedShareAccess = SmbConstants.FILE_SHARE_READ | SmbConstants.FILE_SHARE_WRITE;
            assertEquals(0x03, combinedShareAccess);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. tensorflow/api_template_v1.__init__.py

    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    from tensorflow.python.platform import flags
    # The "app" module will be imported as part of the placeholder section above.
    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    # Add module aliases from Keras to TF.
    # Some tf endpoints actually lives under Keras.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

     * Settings describe characteristics of the sending peer, which are used by the receiving peer.
     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    
      /** Returns -1 if unset. */
      val headerTableSize: Int
        get() {
          val bit = 1 shl HEADER_TABLE_SIZE
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcEnumerateAliasesInDomainTest.java

            assertEquals(acctFlags, request.acct_flags, "The account flags should be set correctly.");
            assertEquals(mockSamArray, request.sam, "The sam array should be set correctly.");
            // ptype and flags are protected fields in DcerpcMessage, cannot test directly
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        @Test
        void testPtypeAndFlagsValues() {
            // Verify specific flag values are correctly set
            assertEquals(0, msrpcShareGetInfo.getPtype());
    
            // Check individual flag bits
            int flags = msrpcShareGetInfo.getFlags();
            assertTrue((flags & DcerpcConstants.DCERPC_FIRST_FRAG) != 0);
            assertTrue((flags & DcerpcConstants.DCERPC_LAST_FRAG) != 0);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  6. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt

         * @return A provider of the reduced value. Non-present if no properties are true.
         */
        fun <T : Any> Project.reduceBooleanFlagValues(flags: Map<Property<Boolean>, T>, combiner: (T, T) -> T): Provider<T> {
            return flags.entries
                .map { entry ->
                    entry.key.map {
                        when (it) {
                            true -> Optional.of(entry.value)
                            false -> Optional.empty()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/JdkPattern.java

        return new JdkMatcher(pattern.matcher(t));
      }
    
      @Override
      public String pattern() {
        return pattern.pattern();
      }
    
      @Override
      public int flags() {
        return pattern.flags();
      }
    
      @Override
      public String toString() {
        return pattern.toString();
      }
    
      private static final class JdkMatcher extends CommonMatcher {
        final Matcher matcher;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * @param off the start offset in the data
         * @param len the number of bytes to write
         * @param flags write operation flags
         * @throws IOException if an I/O error occurs
         */
        public void writeDirect(final byte[] b, int off, int len, final int flags) throws IOException {
            if (len <= 0) {
                return;
            }
    
            if (tmp == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                    data[index + i] = 0;
                }
    
                // set signed flag
                final int oldFlags = SMBUtil.readInt4(data, offset + 16);
                final int flags = oldFlags | ServerMessageBlock2.SMB2_FLAGS_SIGNED;
                SMBUtil.writeInt4(flags, data, offset + 16);
    
                // Create new Mac instance for thread safety without blocking other operations
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            decodedInfo300.decode(src);
    
            assertEquals(info300.flags, decodedInfo300.flags);
            assertEquals(info300.dfs_name, decodedInfo300.dfs_name);
        }
    
        @Test
        void testDfsInfo300_EncodeDecode_NullDfsName() throws NdrException {
            netdfs.DfsInfo300 info300 = new netdfs.DfsInfo300();
            info300.flags = 456;
            info300.dfs_name = null;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.9K bytes
    - Click Count (0)
Back to Top