Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,206 for handle (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            System.arraycopy(buffer, offset + 8, copiedFileId, 0, 16);
            assertArrayEquals(testFileId, copiedFileId);
        }
    
        @Test
        @DisplayName("writeBytesWireFormat with null file ID should handle gracefully")
        void testWriteBytesWireFormatWithNullFileId() {
            Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null);
            byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertThrows(PACDecodingException.class, () -> {
                unicodeString.check("");
            });
    
            // The implementation has a bug - it doesn't handle null properly
            // It throws NullPointerException instead of returning null
            // This is a known issue in the production code
            assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.parameterCount = 0;
            d.dataCount = 0;
            d.headerStart = 0;
    
            byte[] buf = new byte[100];
            int result = d.readBytesWireFormat(buf, 0);
    
            // Should handle empty read gracefully
            assertEquals(0, result, "Should return 0 for no data");
            assertTrue(d.getParametersDone(), "parametersDone should be true when total is 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. callbacks/query.go

    					relation, ok := db.Statement.Schema.Relationships.Relations[join.Name]
    					if ok {
    						isRelations = true
    						relations = append(relations, relation)
    					} else {
    						// handle nested join like "Manager.Company"
    						nestedJoinNames := strings.Split(join.Name, ".")
    						if len(nestedJoinNames) > 1 {
    							isNestedJoin := true
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (3)
  5. cmd/format-erasure.go

    	for _, format := range formats {
    		if format == nil {
    			continue
    		}
    		// NOTE: This code is specifically needed when migrating version
    		// V1 to V2 to V3, in a scenario such as this we only need to handle
    		// single sets since we never used to support multiple sets in releases
    		// with V1 format version.
    		if len(format.Erasure.Sets) > 1 {
    			continue
    		}
    		if format.Erasure.This == "" {
    			return true
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. doc/godebug.md

    X25519MLKEM768 by default. The default can be reverted using the
    [`tlsmlkem` setting](/pkg/crypto/tls/#Config.CurvePreferences).
    This can be useful when dealing with buggy TLS servers that do not handle large records correctly,
    causing a timeout during the handshake (see [TLS post-quantum TL;DR fail](https://tldr.fail/)).
    Go 1.24 also removed X25519Kyber768Draft00 and the Go 1.23 `tlskyber` setting.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jul 08 18:30:38 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/input.go

    				break
    			}
    		}
    		if err != nil {
    			in.Error("#include:", err)
    		}
    	}
    	in.Push(NewTokenizer(name, fd, fd))
    }
    
    // #line processing.
    func (in *Input) line() {
    	// Only need to handle Plan 9 format: #line 337 "filename"
    	tok := in.Stack.Next()
    	if tok != scanner.Int {
    		in.expectText("expected line number after #line")
    	}
    	line, err := strconv.Atoi(in.Stack.Text())
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 06 13:17:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. README.md

    try {
        // Code that might throw checked exceptions
        return ClassUtil.newInstance(className); // Wraps checked exceptions automatically
    } catch (ClassNotFoundRuntimeException e) {
        // Handle the wrapped exception
        logger.error("Class not found: " + className, e);
    }
    ```
    
    ## 🏗️ Architecture & Design Patterns
    
    ### Core Design Principles
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/Types.java

          }
        }
      }
    
      /** Returns the {@code Class} object of arrays with {@code componentType}. */
      static Class<?> getArrayClass(Class<?> componentType) {
        // TODO(user): This is not the most efficient way to handle generic
        // arrays, but is there another way to extract the array class in a
        // non-hacky way (i.e. using String value class names- "[L...")?
        return Array.newInstance(componentType, 0).getClass();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    This will also work because `RedirectResponse` is a subclass of `Response`, and FastAPI will automatically handle this simple case.
    
    ### Invalid Return Type Annotations { #invalid-return-type-annotations }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top