Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,392 for case1 (0.06 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                    addedToBuffer = true;
                }
    
                // this has to be a separate "if" statement, to capture the case of: "-Dfoo=bar"
                if (addedToBuffer && arg.endsWith("\"")) {
                    // if we're building an argument, keep doing so.
                    // if this is the case of "-Dfoo=bar", then we need to adjust the buffer.
                    if (!currentArg.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # Dependencies in path operation decorators
    
    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/listen-notification-handlers.go

    		tmpEvt := struct{ Records []event.Event }{[]event.Event{{}}}
    		for {
    			select {
    			case ev := <-localCh:
    				buf.Reset()
    				tmpEvt.Records[0] = ev
    				if err := enc.Encode(tmpEvt); err != nil {
    					bugLogIf(ctx, err, "event: Encode failed")
    					continue
    				}
    				mergeCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...)
    			case <-ctx.Done():
    				grid.PutByteBuffer(buf.Bytes())
    				return
    			}
    		}
    	}()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    	switch m.Op {
    	case OpMuxServerMsg:
    		c.handleMuxServerMsg(ctx, m)
    	case OpResponse:
    		c.handleResponse(m)
    	case OpMuxClientMsg:
    		c.handleMuxClientMsg(ctx, m)
    	case OpUnblockSrvMux:
    		c.handleUnblockSrvMux(m)
    	case OpUnblockClMux:
    		c.handleUnblockClMux(m)
    	case OpDisconnectServerMux:
    		c.handleDisconnectServerMux(m)
    	case OpDisconnectClientMux:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. cmd/os_windows.go

    				continue
    			}
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0:
    			name += SlashSeparator
    		}
    
    		count--
    		entries = append(entries, name)
    
    	}
    
    	return entries, nil
    }
    
    func globalSync() {
    	// no-op on windows
    }
    
    func syscallErrToFileErr(dirPath string, err error) error {
    	switch err {
    	case nil:
    		return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 18 18:08:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. cmd/net_test.go

    	}
    
    	for _, testCase := range testCases {
    		ipList, err := getHostIP(testCase.host)
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    				t.Fatalf("error: expected = <nil>, got = %v", err)
    			}
    		case err == nil:
    			t.Fatalf("error: expected = %v, got = <nil>", testCase.expectedErr)
    		case testCase.expectedErr.Error() != err.Error():
    			t.Fatalf("error: expected = %v, got = %v", testCase.expectedErr, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    				if resCh != nil {
    					resErr = nil
    					select {
    					case resCh <- results:
    					case <-ctx.Done():
    					}
    					resCh = nil
    					returned = true
    				}
    				continue
    			}
    			results.o = append(results.o, entry)
    		}
    		if resCh != nil {
    			resErr = io.EOF
    			select {
    			case <-ctx.Done():
    				// Nobody wants it.
    			case resCh <- results:
    			}
    		}
    	}()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

                case 0x00:
                    return "This folder only";
                case 0x03:
                    return "This folder, subfolders and files";
                case 0x0B:
                    return "Subfolders and files only";
                case 0x02:
                    return "This folder and subfolders";
                case 0x0A:
                    return "Subfolders only";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

            IOException ioe = null;
    
            switch ( this.state ) {
            case 0: /* not connected - just return */
            case 5:
            case 6:
                return false;
            case 2:
                hard = true;
            case 3: /* connected - go ahead and disconnect */
                if ( this.response_map.size() != 0 && !hard && inUse ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  10. tests/scanner_valuer_test.go

    	// prepend asterisks
    	return append([]byte("***"), data...), nil
    }
    
    type Num int64
    
    func (i *Num) Scan(src interface{}) error {
    	switch s := src.(type) {
    	case []byte:
    		n, _ := strconv.Atoi(string(s))
    		*i = Num(n)
    	case int64:
    		*i = Num(s)
    	default:
    		return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String())
    	}
    	return nil
    }
    
    type StringsSlice []string
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top