/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/partial/ |
D | ValidateTest.java | 7 * "License"); you may not use this file except in compliance 37 // Should not throw. in testCheckNotNull() 44 "'nullArg' must not be null"); in testCheckNotNull() 53 // Should not throw. in testCheckPositiveInteger() 73 // Should not throw. in testCheckNotNegative() 81 "'negativeArg' must not be negative"); in testCheckNotNegative() 86 // Should not throw. in testCheckRequired() 98 // Should not throw. in testCheckValid() 112 // Should not throw. in testCheckValidWithValues() 124 // Should not throw. in testCheckNotNullAndNotEmpty() [all …]
|
/thrift-3.4.0/lib/cpp/src/thrift/protocol/ |
D | TVirtualProtocol.h | 7 * "License"); you may not use this file except in compliance 37 * non-virtual methods are not overridden by the TVirtualProtocol subclass. 49 "this protocol does not support reading (yet)."); in readMessageBegin() 54 "this protocol does not support reading (yet)."); in readMessageEnd() 60 "this protocol does not support reading (yet)."); in readStructBegin() 65 "this protocol does not support reading (yet)."); in readStructEnd() 73 "this protocol does not support reading (yet)."); in readFieldBegin() 78 "this protocol does not support reading (yet)."); in readFieldEnd() 86 "this protocol does not support reading (yet)."); in readMapBegin() 91 "this protocol does not support reading (yet)."); in readMapEnd() [all …]
|
/thrift-3.4.0/lib/php/lib/Protocol/ |
D | TSimpleJSONProtocol.php | 9 * "License"); you may not use this file except in compliance 72 * Used to make sure that we are not encountering a map whose keys are containers 275 * simplejson is not meant to be read back into thrift 282 throw new TException("Not implemented"); 287 throw new TException("Not implemented"); 292 throw new TException("Not implemented"); 297 throw new TException("Not implemented"); 302 throw new TException("Not implemented"); 307 throw new TException("Not implemented"); 312 throw new TException("Not implemented"); [all …]
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/protocol/ |
D | TSimpleJSONProtocol.java | 7 * "License"); you may not use this file except in compliance 34 * scripting languages. It should not be confused with the full-featured TJSONProtocol. 135 /** Used to make sure that we are not encountering a map whose keys are containers */ 357 * <p>simplejson is not meant to be read back into thrift - see <a 362 throw new TException("Not implemented"); in readMessageBegin() 367 throw new TException("Not implemented"); in readMessageEnd() 372 throw new TException("Not implemented"); in readStructBegin() 377 throw new TException("Not implemented"); in readStructEnd() 382 throw new TException("Not implemented"); in readFieldBegin() 387 throw new TException("Not implemented"); in readFieldEnd() [all …]
|
/thrift-3.4.0/lib/py/src/protocol/ |
D | TBase.py | 7 # "License"); you may not use this file except in compliance 31 if not isinstance(other, self.__class__): 41 return not (self == other) 44 if (iprot._fast_decode is not None and 46 self.thrift_spec is not None): 52 if (oprot._fast_encode is not None and self.thrift_spec is not None): 75 if (iprot._fast_decode is not None and 77 cls.thrift_spec is not None):
|
/thrift-3.4.0/lib/py/src/transport/ |
D | TSSLSocket.py | 7 # "License"); you may not use this file except in compliance 37 # SSLContext is not available for Python < 2.7.9 40 # ciphers argument is not available for Python < 2.7.0 103 if host is None and port is None and len(args) == 1 and key not in kwargs: 125 if not self._server_side: 133 if not self._has_ssl_context: 135 'ssl_context is not available for this version of Python') 151 if not self.ca_certs: 153 'ca_certs is needed when cert_reqs is not ssl.CERT_NONE') 154 if not os.access(self.ca_certs, os.R_OK): [all …]
|
/thrift-3.4.0/lib/py/test/ |
D | test_sslsocket.py | 7 # "License"); you may not use this file except in compliance 83 if not self._expect_failure: 116 if not exc_type or not issubclass(exc_type, self._expected): 142 # We need to wait for a connection failure, but not too long. 20ms is a tunable 166 self.assertTrue(acc.client is not None) 236 # server cert not in ca_certs 252 if not _match_has_ipaddress: 279 if not TSSLSocket._has_ciphers: 280 # unittest.skip is not available for Python 2.6 290 if not hasattr(ssl, 'PROTOCOL_SSLv3'): [all …]
|
/thrift-3.4.0/doc/licenses/ |
D | lgpl-2.1.txt | 7 of this license document, but changing it is not allowed. 28 not price. Our General Public Licenses are designed to make sure that 55 that what they have is not the original version, so that the original 56 author's reputation will not be affected by problems that might be 142 Activities other than copying, distribution and modification are not 144 running a program using the Library is not restricted, and output from 179 in the event an application does not supply such function or 187 be optional: if the application does not supply it, the square 191 identifiable sections of that work are not derived from the Library, 193 themselves, then this License, and its terms, do not apply to those [all …]
|
/thrift-3.4.0/lib/ocaml/src/ |
D | TSocket.ml | 7 "License"); you may not use this file except in compliance 34 …Unix.Unix_error (e,fn,_) -> raise (T.E (T.NOT_OPEN, ("TSocket: Could not connect to "^host^":"^(st… 35 … | _ -> raise (T.E (T.NOT_OPEN, ("TSocket: Could not connect to "^host^":"^(string_of_int port)))) 44 None -> raise (T.E (T.NOT_OPEN, "TSocket: Socket not open")) 49 …Unix.Unix_error (e,fn,_) -> raise (T.E (T.UNKNOWN, ("TSocket: Could not read "^(string_of_int len)… 50 …| _ -> raise (T.E (T.UNKNOWN, ("TSocket: Could not read "^(string_of_int len)^" from "^host^":"^(s… 52 None -> raise (T.E (T.NOT_OPEN, "TSocket: Socket not open")) 55 None -> raise (T.E (T.NOT_OPEN, "TSocket: Socket not open"))
|
/thrift-3.4.0/contrib/ |
D | thrift.el | 10 ;; "License"); you may not use this file except in compliance 55 (let ((not-indented t) cur-indent) 71 (while not-indented 76 (setq not-indented nil)) 80 (setq not-indented nil)) 82 (setq not-indented nil))) 88 (setq not-indented nil)) 90 (setq not-indented nil))) 94 (setq not-indented nil)) 96 (setq not-indented nil))) [all …]
|
/thrift-3.4.0/test/crossrunner/ |
D | run.py | 7 # "License"); you may not use this file except in compliance 90 if self.returncode is not None: 102 if self.returncode is not None: 112 # does not end normally with SIGNONE, we mark it as expired. 113 # If the process fails to end and the signal is not SIGKILL, 115 # returns True if the process ended, False if it may not have 164 … logger.warn('[{0}] slept for {1} seconds but server is not open'.format(sv.proc.pid, slept)) 167 if not os.path.exists(domain_socket_path(port)): 168 …logger.debug('[{0}] domain(unix) socket not available yet. slept for {1} seconds so far'.format(sv… 182 if sv.proc.poll() is not None: [all …]
|
D | report.py | 7 # "License"); you may not use this file except in compliance 45 if not r[success_index]: 54 if not overwrite: 89 return relpath if not dir else os.path.realpath(path_join(dir, relpath)) 125 if self.out and not self.out.closed: 128 self._log.debug('Output stream is not available.') 133 if self.out and not self.out.closed: 138 self._log.debug('Output stream is not available.') 155 'Could not bind', 160 'Could not connect to', [all …]
|
/thrift-3.4.0/build/cmake/ |
D | ThriftConfig.cmake.in | 7 # "License"); you may not use this file except in compliance 27 if(NOT DEFINED THRIFT_COMPILER) 31 if (NOT TARGET thrift::thrift) 37 if (NOT TARGET thriftz::thriftz) 44 message(FATAL_ERROR "thrift libraries were not found") 46 if (NOT Thrift_FIND_QUIETLY)
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/partial/ |
D | Validate.java | 7 * "License"); you may not use this file except in compliance 36 /** Validates that the given reference argument is not null. */ 38 checkArgument(obj != null, "'%s' must not be null.", argName); in checkNotNull() 41 /** Validates that the given integer argument is not zero or negative. */ 46 /** Validates that the given integer argument is not negative. */ 48 checkArgument(value >= 0, "'%s' must not be negative.", argName); in checkNotNegative() 68 /** Validates that the given string is not null and has non-zero length. */ 71 Validate.checkArgument(arg.length() > 0, "'%s' must not be empty.", argName); in checkNotNullAndNotEmpty() 74 /** Validates that the given array is not null and has at least one element. */ 80 /** Validates that the given array is not null and has at least one element. */ [all …]
|
/thrift-3.4.0/doc/ |
D | coding_standards.md | 13 those are not silver-bullet, fix-all-at-once rules. Just think about readability while writing code. 18 Thrift has some history. Not all existing code follows those rules. 20 When making a small change / bugfix - like a single line fix - do *not* refactor the whole function. 29 * Use spaces, not tabs 35 * If not specified otherwise in language specific standard - use 2 spaces as indent/tab 41 …* Do not leave "TODO/FIXME" comments - file [Jira](http://issues.apache.org/jira/browse/THRIFT) is…
|
/thrift-3.4.0/lib/java/src/main/java/org/apache/thrift/ |
D | Option.java | 7 * "License"); you may not use this file except in compliance 31 * Whether the Option is defined or not 33 * @return true if the Option is defined (of type Some) false if the Option is not defined (of 49 * @param other what to return if the value is not defined (a None) 50 * @return either the value, or other if the value is not defined 114 * Wraps value in an Option type, depending on whether or not value is null 118 * @return Some(value) if value is not null, None if value is null 129 * Wrap value in a Some type (NB! value must not be null!)
|
/thrift-3.4.0/test/haxe/src/ |
D | Arguments.hx | 7 * "License"); you may not use this file except in compliance 88 trace("WN: Platform does not support program arguments, using defaults."); 104 /* not supported yet 109 /* not supported yet 115 /* not supported yet 126 /* not supported yet 188 throw "domain sockets not supported yet"; 192 throw "named pipes not supported yet"; 209 throw "SSL not supported yet"; 234 throw "Anon pipes transport not supported yet"; [all …]
|
/thrift-3.4.0/lib/cpp/src/thrift/transport/ |
D | TNonblockingServerSocket.cpp | 7 * "License"); you may not use this file except in compliance 162 // On some platforms the domain socket file may not be instantly in isOpen() 167 // does not work. Workaround is a Windows-specific call if file exists: in isOpen() 174 …"TNonblockingServerSocket::isOpen(): The domain socket path '" + path_ + "' does not exist (yet)."; in isOpen() 215 // This does not work with Domain sockets on most platforms. And in isOpen() 216 // on Windows it completely breaks the socket. Therefore do not in isOpen() 225 // we do not target WinXP anymore so no special checks required. in isOpen() 231 "Could not set THRIFT_NO_SOCKET_CACHING", in isOpen() 247 "Could not set SO_SNDBUF", in isOpen() 262 "Could not set SO_RCVBUF", in isOpen() [all …]
|
/thrift-3.4.0/lib/haxe/src/org/apache/thrift/transport/ |
D | TServerSocket.hx | 7 * "License"); you may not use this file except in compliance 48 // Whether or not to wrap new TSocket connections in buffers 67 …throw new TTransportException( TTransportException.UNKNOWN, 'Could not create ServerSocket on port… 74 // Make sure not to block on accept 85 …throw new TTransportException( TTransportException.UNKNOWN, 'Could not accept on listening socket:… 104 throw "buffered transport not yet supported"; // TODO 128 …throw new TTransportException( TTransportException.UNKNOWN, 'WARNING: Could not close server socke…
|
/thrift-3.4.0/lib/go/thrift/ |
D | transport_exception_test.go | 7 * "License"); you may not use this file except in compliance 43 t.Errorf("Error did not match: expected %q, got %q", timeout.Error(), exception.Error()) 47 t.Errorf("TypeId was not TIMED_OUT: expected %v, got %v", TIMED_OUT, exception.TypeId()) 51 t.Errorf("Unwrapped exception did not match: expected %v, got %v", timeout, unwrapped) 58 t.Errorf("Error did not match: expected %q, got %q", io.EOF.Error(), exception.Error()) 62 t.Errorf("TypeId was not END_OF_FILE: expected %v, got %v", END_OF_FILE, exception.TypeId()) 66 t.Errorf("Unwrapped exception did not match: expected %v, got %v", io.EOF, unwrapped)
|
D | serializer_test.go | 7 * "License"); you may not use this file except in compliance 39 return errors.New("Boolean not equal") 41 return errors.New("Byte not equal") 43 return errors.New("Int16 not equal") 45 return errors.New("Int32 not equal") 47 return errors.New("Int64 not equal") 49 return errors.New("Double not equal") 51 return errors.New("String not equal") 54 return errors.New("Binary size not equal") 58 return errors.New("Binary not equal") [all …]
|
/thrift-3.4.0/lib/rb/spec/ |
D | union_spec.rb | 7 # "License"); you may not use this file except in compliance 48 …expect { union.some_characters }.to raise_error(RuntimeError, "some_characters is not union's set … 54 …rializer.new.serialize(union) }.to raise_error(RuntimeError, "set_field is not valid for this unio… 57 it "should not be equal to nil" do 62 it "should not be equal with an empty String" do 67 it "should not equate two different unions, i32 vs. string" do 79 expect { union.integer32 }.to raise_error(RuntimeError, "integer32 is not union's set field.") 82 it "should not equate two different unions with different values" do 88 it "should not equate two different unions with different fields" do 99 it "should not allow setting with instance_variable_set" do [all …]
|
/thrift-3.4.0/lib/d/src/thrift/transport/ |
D | base.d | 7 * "License"); you may not use this file except in compliance 29 * not necessarily both. 39 * the related functions do not necessarily fail when called for a closed 70 * If the transport is not open, nothing happens. 95 * Fills the given buffer by reading data into it, failing if not enough 121 * object does not automatically flush pending data – if you destroy a 155 * possibly copied into buf, not consuming them (i.e.: a later read will 161 * transports will not support this method and others will fail occasionally, 169 * indicate that the caller is not supplying storage, but would like a 233 throw new TTransportException(text("Could not readAll() ", buf.length, in readAll() [all …]
|
/thrift-3.4.0/lib/netstd/Thrift/Transport/Server/ |
D | TServerSocketTransport.cs | 6 // "License"); you may not use this file except in compliance 54 … throw new TTransportException("Could not create ServerSocket on port " + port + "."); in TServerSocketTransport() 75 throw new TTransportException("ServerSocket is not a network socket"); in GetPort() 80 throw new TTransportException("ServerSocket is not open"); in GetPort() 86 // Make sure not to block on accept in Listen() 95 … throw new TTransportException("Could not accept on listening socket: " + sx.Message); in Listen() 161 throw new TTransportException("WARNING: Could not close server socket: " + ex); in Close()
|
/thrift-3.4.0/build/docker/ |
D | refresh.sh | 8 # "License"); you may not use this file except in compliance 37 # image may not exist yet, so we have to let it fail silently: 58 echo Dockerfile has not changed. No need to rebuild. 69 # not. If nobody defined a DOCKER_PASS then it doesn't matter. 80 …echo Not pushing docker image: either not a docker stage build job, or one of DOCKER_USER or DOCKE…
|