Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 886 for zero (0.05 sec)

  1. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).getInitialSize();
        }
    
        /**
         * Test getInitialSize() when the size is zero.
         */
        @Test
        void testGetInitialSize_zero() {
            long expectedSize = 0L;
            when(smbFileHandle.getInitialSize()).thenReturn(expectedSize);
            long actualSize = smbFileHandle.getInitialSize();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
    
            assertArrayEquals(testBytes, key.getKey());
            assertFalse(key.isZero());
        }
    
        @Test
        @DisplayName("Should create zero lease key")
        void testZeroLeaseKey() {
            byte[] zeroBytes = new byte[16];
            Arrays.fill(zeroBytes, (byte) 0);
    
            Smb2LeaseKey key = new Smb2LeaseKey(zeroBytes);
    
            assertTrue(key.isZero());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

     * Usage: groovy CheckBadMerge.groovy <commit1> <commit2> ...
     * If any "bad" merge commit is found, it will print the details and exit with non-zero code.
     */
    class CheckBadMerge {
        private static final THREAD_POOL = Executors.newCachedThreadPool()
    
        private static final List<String> MONITORED_PATHS = [
            "subprojects/docs/src/docs/release/notes.md",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Fri Jan 24 10:03:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. docs/pt/docs/deployment/docker.md

    ## Construindo uma Imagem Docker para FastAPI
    
    Okay, vamos construir algo agora! 🚀
    
    Eu vou mostrar como construir uma **imagem Docker** para FastAPI **do zero**, baseado na **imagem oficial do Python**.
    
    Isso é o que você quer fazer na **maioria dos casos**, por exemplo:
    
    * Usando **Kubernetes** ou ferramentas similares
    * Quando rodando em uma **Raspberry Pi**
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            SmbTreeConnection c = newConn();
            assertSame(config, c.getConfig());
        }
    
        @Test
        @DisplayName("acquire calls tree.acquire on first usage, release calls tree.release at zero")
        void acquire_release_lifecycle() {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dtyp/ACETest.java

        @Test
        @DisplayName("Test decode with deny ACE")
        void testDecodeDenyACE() throws Exception {
            // Prepare test data - Deny ACE
            testBuffer = new byte[100];
            testBuffer[0] = 0x01; // Deny ACE (non-zero)
            testBuffer[1] = 0x10; // FLAGS_INHERITED
            testBuffer[2] = 0x24; // Size low byte (36)
            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask byte 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                        "Should throw exception when reading beyond buffer bounds");
            }
    
            @Test
            @DisplayName("Should handle zero-length decode")
            void testDecodeWithZeroLength() throws SMBProtocolDecodingException {
                int result = testResponse.decode(testBuffer, 0, 0);
    
                assertEquals(0, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  8. statement.go

    					if destField := descSchema.LookUpField(field.DBName); destField != nil {
    						changedValue, zero := destField.ValueOf(stmt.Context, destValue)
    						if v {
    							return !utils.AssertEqual(changedValue, fieldValue)
    						}
    						return !zero && !utils.AssertEqual(changedValue, fieldValue)
    					}
    				}
    			}
    		}
    		return false
    	}
    
    	if len(fields) == 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. docs/debugging/hash-set/main.go

    	flag.BoolVar(&verbose, "v", false, "Display all objects")
    
    	flag.Parse()
    
    	if deploymentID == "" {
    		log.Fatalln("deployment ID is mandatory")
    	}
    
    	if setCount == 0 {
    		log.Fatalln("set count cannot be zero")
    	}
    
    	id := uuid.MustParse(deploymentID)
    
    	if file != "" {
    		distrib := make([][]string, setCount)
    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    // having zero bytes. As such, the encoding and decoding logic in this package
    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    // zero value of sparseHoles logically represents a normal file (i.e., there are
    // no holes in it). On the other hand, the zero value of sparseDatas implies
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top