Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2411 - 2420 of 2,793 for errPos (0.04 seconds)

  1. docs/pt/docs/advanced/advanced-python-types.md

        print(f"Hey {name}!")
    ```
    
    O parâmetro `name` é definido como `Optional[str]`, mas não é opcional; não é possível chamar a função sem o parâmetro:
    
    ```Python
    say_hi()  # Ah, não, isso gera um erro! 😱
    ```
    
    O parâmetro `name` continua obrigatório (não é opcional) porque não tem valor padrão. Ainda assim, `name` aceita `None` como valor:
    
    ```Python
    say_hi(name=None)  # Isso funciona, None é válido 🎉
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

         */
        @Nullable
        XmlNode child(String name);
    
        /**
         * Returns the input location information for this node, if available.
         * This can be useful for error reporting and debugging.
         *
         * @return the input location object, or {@code null} if not available
         */
        @Nullable
        Object inputLocation();
    
        // Deprecated methods that delegate to new ones
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 17 15:20:44 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  3. cmd/signature-v4-utils_test.go

    	}
    
    	if !owner {
    		t.Fatalf("Expected owner to be 'true', found %t", owner)
    	}
    
    	_, _, s3Err = checkKeyValid(req, "does-not-exist")
    	if s3Err != ErrInvalidAccessKeyID {
    		t.Fatalf("Expected error 'ErrInvalidAccessKeyID', found %v", s3Err)
    	}
    
    	ucreds, err := auth.CreateCredentials("myuser1", "mypassword1")
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java

                    System.arraycopy(data, offset + 8, addr, 0, 16);
                    return InetAddress.getByAddress(addr);
                }
            } catch (Exception e) {
                // Ignore parsing errors
            }
            return null;
        }
    
        private boolean checkRSSCapability() {
            // Platform-specific RSS detection - simplified implementation
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            this.level = level
          }
    
        @JvmName("-deprecated_level")
        @Deprecated(
          message = "moved to var",
          replaceWith = ReplaceWith(expression = "level"),
          level = DeprecationLevel.ERROR,
        )
        fun getLevel(): Level = level
    
        @Throws(IOException::class)
        override fun intercept(chain: Interceptor.Chain): Response {
          val level = this.level
    
          val request = chain.request()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Nov 07 02:57:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Share level security */
        int SECURITY_SHARE = 0x00;
        /** User level security */
        int SECURITY_USER = 0x01;
    
        /** Command offset in SMB header */
        int CMD_OFFSET = 4;
        /** Error code offset in SMB header */
        int ERROR_CODE_OFFSET = 5;
        /** Flags offset in SMB header */
        int FLAGS_OFFSET = 9;
        /** Signature offset in SMB header */
        int SIGNATURE_OFFSET = 14;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/RequestTest.java

                return false;
            }
    
            @Override
            public boolean isError() {
                return errorCode != 0;
            }
    
            @Override
            public void error() {
                this.errorCode = -1;
            }
    
            @Override
            public Long getExpiration() {
                return expiration;
            }
    
            @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  8. cmd/admin-router.go

    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    			objectAPI := newObjectLayerFn()
    			if objectAPI == nil || globalNotificationSys == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            final AtomicBoolean secondCalled = new AtomicBoolean(false);
            coordinatorHelper.addEventHandler("test_event", event -> {
                throw new RuntimeException("test error");
            });
            coordinatorHelper.addEventHandler("test_event", event -> secondCalled.set(true));
    
            final EventInfo event = new EventInfo();
            event.name = "test_event";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                }
              });
          try {
            future.get();
          } catch (Throwable t) {
            // Ignore, we just wanted to block.
          }
          String error = errorMessage.get();
          assertWithMessage(error).that(error).isNull();
        }
        executor.shutdown();
      }
    
      /**
       * He did the bash, he did the future bash The future bash, it was a concurrency smash He did the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
Back to Top