Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2291 - 2300 of 7,014 for _return (0.05 sec)

  1. istioctl/pkg/admin/istiodconfig.go

    	}
    	return nil
    }
    
    type stackTraceLevelState struct {
    	client          *ControlzClient
    	stackTraceLevel string
    }
    
    func (stl *stackTraceLevelState) run(_ io.Writer) error {
    	scopeInfos, err := newScopeInfosFromScopeStackTraceLevelPairs(stl.stackTraceLevel)
    	if err != nil {
    		return err
    	}
    	err = stl.client.PutScopes(scopeInfos)
    	if err != nil {
    		return err
    	}
    	return nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      public void testComputeIfAbsent_supportedAbsent() {
        assertEquals(
            "computeIfAbsent(notPresent, function) should return new value",
            v3(),
            getMap()
                .computeIfAbsent(
                    k3(),
                    k -> {
                      assertEquals(k3(), k);
                      return v3();
                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/lang/GenericsUtil.java

         * @param type
         *            タイプ
         * @return <code>type</code>の原型
         */
        public static Class<?> getRawClass(final Type type) {
            if (type instanceof Class) {
                return Class.class.cast(type);
            }
            if (type instanceof ParameterizedType) {
                final ParameterizedType parameterizedType = ParameterizedType.class.cast(type);
                return getRawClass(parameterizedType.getRawType());
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. docs_src/security/tutorial005_py39.py

    )
    
    app = FastAPI()
    
    
    def verify_password(plain_password, hashed_password):
        return pwd_context.verify(plain_password, hashed_password)
    
    
    def get_password_hash(password):
        return pwd_context.hash(password)
    
    
    def get_user(db, username: str):
        if username in db:
            user_dict = db[username]
            return UserInDB(**user_dict)
    
    
    def authenticate_user(fake_db, username: str, password: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to execute command on Envoy: %v", err)
    	}
    	return setupClustersEnvoyConfigWriter(debug, out)
    }
    
    func setupFileClustersWriter(filename string, out io.Writer) (*clusters.ConfigWriter, error) {
    	data, err := readFile(filename)
    	if err != nil {
    		return nil, err
    	}
    	return setupClustersEnvoyConfigWriter(data, out)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 15:53:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/MultiInputStream.java

        if (in == null) {
          return 0;
        }
        return in.available();
      }
    
      @Override
      public boolean markSupported() {
        return false;
      }
    
      @Override
      public int read() throws IOException {
        while (in != null) {
          int result = in.read();
          if (result != -1) {
            return result;
          }
          advance();
        }
        return -1;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      protected SortedMultiset<E> delegate() {
        return (SortedMultiset<E>) super.delegate();
      }
    
      @Override
      public Comparator<? super E> comparator() {
        return delegate().comparator();
      }
    
      @Override
      NavigableSet<E> createElementSet() {
        return unmodifiableNavigableSet(delegate().elementSet());
      }
    
      @Override
      public NavigableSet<E> elementSet() {
        return (NavigableSet<E>) super.elementSet();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
        return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableValue");
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/sql/StatementUtil.java

         * @param sql
         *            SQL文字列。{@literal null}や空文字列であってはいけません
         * @return 実行した結果
         * @see Statement#execute(String)
         */
        public static boolean execute(final Statement statement, final String sql) {
            assertArgumentNotNull("statement", statement);
            assertArgumentNotEmpty("sql", sql);
    
            try {
                return statement.execute(sql);
            } catch (final SQLException ex) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

        @Inject
        protected MavenRepositorySystem mavenRepositorySystem;
    
        @Inject
        protected PlexusContainer container;
    
        public PlexusContainer getContainer() {
            return container;
        }
    
        @BeforeEach
        public void setUp() throws Exception {
            if (getContainer().hasComponent(ProjectBuilder.class, "test")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top