Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,419 for check (0.36 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            assertTrue(len >= 2);
            // writeInt2 writes in little-endian format (LSB first)
            assertEquals(0xAB, buffer[0] & 0xFF);
            assertEquals(0x12, buffer[1] & 0xFF);
            // Check that the path is written after the referral level
            // The path should be written starting at index 2
            // writeString adds null terminator
            assertTrue(len > 2, "Length should include path");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/HexdumpTest.java

            int length = 32;
    
            // When
            String result = Hexdump.toHexString(data, offset, length);
    
            // Then
            assertNotNull(result);
            assertFalse(result.isEmpty());
            // Check starts with byte at offset 16 (0x10)
            assertTrue(result.startsWith("10111213"));
            assertEquals(64, result.length()); // 32 bytes * 2 chars per byte
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            // Stub the getPath method to return a specific value
            when(mockDir.getPath()).thenReturn("/share/folder/");
    
            // Implementation uses dir.getPath() to check if file should be in that path
            SmbFilenameFilter filter = (dir, name) -> {
                if (dir == null)
                    return false;
                String path = dir.getPath();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    		vc, err = globalBucketVersioningSys.Get(bi.Name)
    		if err != nil {
    			return err
    		}
    
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bi.Name)
    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bi.Name}) {
    			return err
    		}
    
    		// Check if bucket is object locked.
    		lr, err = globalBucketObjectLockSys.Get(bi.Name)
    		if err != nil {
    			return err
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 42.1K bytes
    - Viewed (1)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        return ObjectArrays.toArrayImpl(this, other);
      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        try {
          // This set never contains null.  We need to explicitly check here
          // because some comparator might throw NPE (e.g. the natural ordering).
          return object != null && sortedDelegate.contains(object);
        } catch (ClassCastException e) {
          return false;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. cmd/local-locker.go

    	if ctx.Err() != nil {
    		return false, ctx.Err()
    	}
    
    	defer l.getMutex()()
    	if ctx.Err() != nil {
    		return false, ctx.Err()
    	}
    
    	// Check whether uid is still active.
    	resource, ok := l.lockUID[formatUUID(args.UID, 0)]
    	if !ok {
    		return false, nil
    	}
    	idx := 0
    	for {
    		lris, ok := l.lockMap[resource]
    		if !ok {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/middleware.md

    * <a href="https://github.com/florimondmanca/msgpack-asgi" class="external-link" target="_blank">MessagePack</a>
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. docs/uk/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    У цьому випадку параметр функції `q` буде необов’язковим і за замовчуванням матиме значення `None`.
    
    /// check | Примітка
    
    Також зверніть увагу, що **FastAPI** достатньо розумний, щоб визначити, що параметр шляху `item_id` є параметром шляху, а `q` — ні, отже, це query параметр.
    
    ///
    
    ## Перетворення типу Query параметра
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *}
    
    В этом случае, параметр  `q` будет не обязательным и будет иметь значение `None` по умолчанию.
    
    /// check | Важно
    
    Также обратите внимание, что **FastAPI** достаточно умён чтобы заметить, что параметр `item_id` является path-параметром, а `q` нет, поэтому, это параметр запроса.
    
    ///
    
    ## Преобразование типа параметра запроса
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/CIFSContextTest.java

            // Then
            assertEquals(mockHandler, handler);
            verify(mockContext).getUrlHandler();
        }
    
        @Test
        @DisplayName("Should check for default credentials")
        void testHasDefaultCredentials() {
            // Given
            when(mockContext.hasDefaultCredentials()).thenReturn(true);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top