Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1411 - 1420 of 2,189 for else_ (0.02 seconds)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

                }
    
                // we have a value, so it has to match the system value...
                boolean result = propValue.equals(sysValue);
    
                return reverseValue ? !result : result;
            } else {
                boolean result = StringUtils.isNotEmpty(sysValue);
    
                return reverseName ? !result : result;
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

                    };
    
                    int i = 0;
                    for (String col : cols) {
                        assertEquals(expected[i++], col.trim(), "Wrong column header");
                    }
                } else if (line.startsWith("|")) {
                    String[] cols = line.split("\\|");
    
                    String type = trimApt(cols[1]);
                    String classifier = trimApt(cols[2]);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. docs_src/security/tutorial004_an_py39.py

        return user
    
    
    def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None):
        to_encode = data.copy()
        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

            getKuromojiFile(dictId).ifPresent(file -> {
                if (kuromojiItem.getId() == 0) {
                    file.insert(kuromojiItem);
                } else {
                    file.update(kuromojiItem);
                }
            });
        }
    
        /**
         * Delete a Kuromoji item.
         *
         * @param dictId The dictionary ID.
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

                            .setOpType(IndexRequest.OpType.INDEX)
                            .setSource(item.getUpdatedSource(getResponse.getSourceAsMap()));
                    bulkRequestBuilder.add(indexRequestBuilder);
                } else {
                    final IndexRequestBuilder indexRequestBuilder = new IndexRequestBuilder(client, IndexAction.INSTANCE, index);
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 20 08:32:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java

         * to suppress (as we do now), stop testing entrySet().add() at all, make
         * entrySet().add() tests tolerant of either behavior, introduce a map
         * feature for entrySet() that supports add(), or something else
         */
        return asList(
            getAddUnsupportedNotPresentMethod(),
            getAddAllUnsupportedNonePresentMethod(),
            getAddAllUnsupportedSomePresentMethod());
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ### Return values { #return-values }
    
    And they can return values or not, the values won't be used.
    
    So, you can reuse a normal dependency (that returns a value) you already use somewhere else, and even though the value won't be used, the dependency will be executed:
    
    {* ../../docs_src/dependencies/tutorial006_an_py39.py hl[11,16] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/expr_test.go

    			t.Errorf("%d: %q evaluated to %d; expected %d", i, test.input, result, test.output)
    		}
    		tok := p.next()
    		if test.atEOF && tok.ScanToken != scanner.EOF {
    			t.Errorf("%d: %q: at EOF got %s", i, test.input, tok)
    		} else if !test.atEOF && tok.ScanToken == scanner.EOF {
    			t.Errorf("%d: %q: expected not EOF but at EOF", i, test.input)
    		}
    	}
    }
    
    type badExprTest struct {
    	input string
    	error string // Empty means no error.
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/ResourceManager.java

                    // Resource object has been garbage collected but not closed
                    reportLeak(holder);
                    activeResources.remove(entry.getKey());
                    cleaned++;
                } else if (!holder.closed && holder.getAge() > maxResourceAge * 2) {
                    // Very old unclosed resource - attempt to close it
                    AutoCloseable resource = holder.resourceRef.get();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top