Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of over 10,000 for Switch (0.42 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

        private static OptionalEntity<BoostDocumentRule> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
                return OptionalEntity.of(new BoostDocumentRule()).map(entity -> {
                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

        @Test
        @DisplayName("Test getInfo with type when info is null")
        void testGetInfoWithTypeWhenNull() {
            response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
    
            assertThrows(NullPointerException.class, () -> {
                response.getInfo(FileBasicInfo.class);
            });
        }
    
        @Test
        @DisplayName("Test getInfo with compatible type")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. internal/logger/console.go

    type Logger interface {
    	json(msg string, args ...any)
    	quiet(msg string, args ...any)
    	pretty(msg string, args ...any)
    }
    
    func consoleLog(console Logger, msg string, args ...any) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    		if len(msg) != 0 && len(args) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/AbstractNetwork.java

      }
    
      @Override
      public @Nullable E edgeConnectingOrNull(N nodeU, N nodeV) {
        Set<E> edgesConnecting = edgesConnecting(nodeU, nodeV);
        switch (edgesConnecting.size()) {
          case 0:
            return null;
          case 1:
            return edgesConnecting.iterator().next();
          default:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        }
      }
    
      /**
       * Starts a new task on the given executor that switches (deletes and replaces) a file between
       * being a directory and being a symlink. The given {@code file} is the file that should switch
       * between being a directory and being a symlink, while the given {@code target} is the target the
       * symlink should have.
       */
      @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  6. cmd/data-scanner_test.go

    	}{
    		{
    			// With replication configured, version(s) with PENDING purge status
    			replCfg:  replicationConfig{Config: &replCfg},
    			objInfos: replObjInfos,
    			wants:    replWants,
    			wantExpired: []ObjectToDelete{
    				{ObjectV: ObjectV{ObjectName: obj, VersionID: objInfos[3].VersionID}},
    			},
    		},
    		{
    			// With lock retention configured and version(s) with retention metadata
    			lr:       lr,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Range.java

        return create(Cut.belowAll(), Cut.aboveValue(endpoint));
      }
    
      /**
       * Returns a range with no lower bound up to the given endpoint, which may be either inclusive
       * (closed) or exclusive (open).
       *
       * @since 14.0
       */
      public static <C extends Comparable<?>> Range<C> upTo(C endpoint, BoundType boundType) {
        switch (boundType) {
          case OPEN:
            return lessThan(endpoint);
          case CLOSED:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                    String token = null;
                    String segmentation = null;
                    String reading = null;
                    String pos = null;
                    switch (values.length) {
                    case 4:
                        pos = values[3];
                    case 3:
                        reading = values[2];
                    case 2:
                        segmentation = values[1];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. cmd/storage-rest-client.go

    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    	// return 503 server closed error, consider it as an offline node
    	case strings.Contains(err.Error(), http.ErrServerClosed.Error()):
    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    	// some requests are not retried internally, such as POST request with written body
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SIDCacheImplTest.java

                    rpc.names.names = new lsarpc.LsarTranslatedName[1];
                    rpc.names.names[0] = new lsarpc.LsarTranslatedName();
                    rpc.names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_UNKNOWN; // not in switch list
                    rpc.names.names[0].name = new UnicodeString("unknown", false);
                    rpc.names.names[0].sid_index = 0;
                    return null;
                }).when(handle).sendrecv(any());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
Back to Top